Summary
Converts a MemberInfo into a Func which will fetch the value for the Member.
Handles either fields or properties.
- Namespace
- ReactiveUI
- Containing Type
- Reflection
Syntax
public static Func<object, object?[], object?>? GetValueFetcherForProperty(MemberInfo? member)
Parameters
Name | Type | Description |
---|---|---|
member | MemberInfo? | The member info to convert. |
Return Value
Type | Description |
---|---|
Func |
A Func that takes in the object/indexes and returns the value. |