PropertyInfoExtensions

Class PropertyInfoExtensions

Reflection helper class that allows to directly set values in properties.

Inheritance
PropertyInfoExtensions
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
PropertyInfopi
objectobj
objectvalue
TypeenumType