ScriptHelper.GetProperty
Retrieve a property value from an object dynamically. This is a simple version that uses Reflection calls directly. It doesn't support indexers.
public object GetProperty(object instance, string property)
Parameters
instance
Object to make the call on
property
Property to retrieve