Class PropertyInfoExtensions
Reflection helper class that allows to directly set values in properties.
Inherited Members
Namespace: ETLBox.Helper
Assembly: ETLBox.dll
Syntax
public static class PropertyInfoExtensions
Methods
SetValueByType(PropertyInfo, object, object, Type)
Declaration
public static void SetValueByType(this PropertyInfo pi, object obj, object value, Type enumType)
Parameters
Type | Name | Description |
---|---|---|
PropertyInfo | pi | |
object | obj | |
object | value | |
Type | enumType |