Class PropertyInfoExtensions
Helper class for creating delegates from PropertyInfo.
Namespace: Solti.Utils.Primitives
Assembly: Solti.Utils.Primitives.dll
Syntax
public static class PropertyInfoExtensions : Object
Methods
ToGetter(PropertyInfo)
Creates a getter from the given PropertyInfo.
Declaration
public static InstanceMethod ToGetter(this PropertyInfo src)
Parameters
Type | Name | Description |
---|---|---|
PropertyInfo | src |
Returns
Type | Description |
---|---|
InstanceMethod |
ToSetter(PropertyInfo)
Creates a setter from the given PropertyInfo.
Declaration
public static InstanceMethod ToSetter(this PropertyInfo src)
Parameters
Type | Name | Description |
---|---|---|
PropertyInfo | src |
Returns
Type | Description |
---|---|
InstanceMethod |