Class PropertyInfoExtensions
Reflection helper class that allows to directly set values in properties.
Inheritance
object
PropertyInfoExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 |
---|---|---|
System.Reflection.PropertyInfo | pi | |
object | obj | |
object | value | |
System.Type | enumType |