Class PropertyInfoExtensions
Reflection extensions.
Inherited Members
Namespace: Evergine.Common.Helpers
Assembly: Evergine.Common.dll
Syntax
public static class PropertyInfoExtensions
  Methods
GetValueGetter(PropertyInfo)
Get the expression of a value getter for a property. Compile the expression to execute or combine it with other expressions.
Declaration
public static Func<object, object> GetValueGetter(this PropertyInfo propertyInfo)
  Parameters
| Type | Name | Description | 
|---|---|---|
| PropertyInfo | propertyInfo | The property info.  | 
      
Returns
| Type | Description | 
|---|---|
| Func<object, object> | The value property getter.  | 
      
GetValueSetter(PropertyInfo)
Get the expression of a value setter for a property. Compile the expression to execute or combine it with other expressions.
Declaration
public static Action<object, object> GetValueSetter(this PropertyInfo propertyInfo)
  Parameters
| Type | Name | Description | 
|---|---|---|
| PropertyInfo | propertyInfo | The property info.  | 
      
Returns
| Type | Description | 
|---|---|
| Action<object, object> | The value property setter.  |