[]
        
(Showing Draft Content)

C1.Util.DX.DXUtil.BuildPropertyGetter

BuildPropertyGetter Method

BuildPropertyGetter<T>(Type, PropertyInfo)

Builds a fast property getter from a type and a property info.

Declaration
public static GetValueFastDelegate<T> BuildPropertyGetter<T>(Type customEffectType, PropertyInfo propertyInfo)
Parameters
Type Name Description
Type customEffectType

Type of the custom effect.

PropertyInfo propertyInfo

The property info to get the value from.

Returns
Type Description
GetValueFastDelegate<T>

A compiled delegate.

Type Parameters
Name Description
T

Type of the getter.