Esempio n. 1
0
 public static void SetReceiveEventDelegate(this IEpos2CommBox This, Epos2CommBoxReceiveDelegate @delegate)
 {
     if (@delegate == null)
     {
         throw new ArgumentNullException("@delegate");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setReceiveEventDelegate:"), @delegate.Handle);
 }
Esempio n. 2
0
 public virtual void SetReceiveEventDelegate(Epos2CommBoxReceiveDelegate @delegate)
 {
     if (@delegate == null)
     {
         throw new ArgumentNullException("@delegate");
     }
     if (IsDirectBinding)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(this.Handle, Selector.GetHandle("setReceiveEventDelegate:"), @delegate.Handle);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSendSuper_IntPtr(this.SuperHandle, Selector.GetHandle("setReceiveEventDelegate:"), @delegate.Handle);
     }
 }