public BasicValueSetter GetBasicValueSetter() { if (basic_value_setter == null) { basic_value_setter = native_field_info.CreateDynamicValueSetterDelegate <BasicValueSetter>(); } return(basic_value_setter); }
static public ValueSetter <T> GetTypeSafe <T>(this BasicValueSetter item) { return(delegate(object obj, T value) { item(obj, value); }); }