Recursively retrieves a value from a deep property for the given object
myObject.GetValueFromPath("Property.PropertyProperty") returns myObject.Property.PropertyPropertypublic static object GetValueFromPath(this object o, string path)| parameter | description |
|---|---|
| o | Source object |
| path | Path to the property (dot separated) |
- class ObjectExtensions
- namespace Wokhan.Core.Extensions