Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 614 Bytes

File metadata and controls

23 lines (16 loc) · 614 Bytes

ObjectExtensions.GetValueFromPath method

Recursively retrieves a value from a deep property for the given object

myObject.GetValueFromPath("Property.PropertyProperty") returns myObject.Property.PropertyProperty
public static object GetValueFromPath(this object o, string path)
parameter description
o Source object
path Path to the property (dot separated)

See Also