[]
        
(Showing Draft Content)

C1.Util.DX.DXUtil.BuildPropertySetter

BuildPropertySetter Method

BuildPropertySetter<T>(Type, PropertyInfo)

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

Declaration
public static SetValueFastDelegate<T> BuildPropertySetter<T>(Type customEffectType, PropertyInfo propertyInfo)
Public Shared Function BuildPropertySetter(Of T)(customEffectType As Type, propertyInfo As PropertyInfo) As SetValueFastDelegate(Of T)
Parameters
Type Name Description
Type customEffectType

Type of the custom effect.

PropertyInfo propertyInfo

The property info to set the value to.

Returns
Type Description
SetValueFastDelegate<T>

A compiled delegate.

Type Parameters
Name Description
T

Type of the setter.