ReflectionExtensions.

ReflectGet(object, string) Method

Summary

Gets an objects property dynamically through reflection - will throw an exception if proper has no getter or property does not exists
Namespace
Shiny
Containing Type
ReflectionExtensions

Syntax

public static object ReflectGet(this object obj, string propertyName)

Parameters

Name Type Description
obj object
propertyName string

Return Value

Type Description
object
GitHub