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