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
TypeNameDescription
System.Reflection.PropertyInfopi
objectobj
objectvalue
System.TypeenumType