public BasicDelegateAdder GetBasicDelegateAdder() { if (basic_delegate_adder == null) { basic_delegate_adder = GetNativeEventInfo().CreateDynamicDelegateAdderDelegate <BasicDelegateAdder>(); } return(basic_delegate_adder); }
static public DelegateAdder <T> GetTypeSafe <T>(this BasicDelegateAdder item) { return(delegate(object obj, T value) { item(obj, value); }); }