예제 #1
0
 public static void SetReadStringEventDelegate(this IEpos2Keyboard This, Epos2KbdReadStringDelegate @delegate)
 {
     if (@delegate == null)
     {
         throw new ArgumentNullException("@delegate");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setReadStringEventDelegate:"), @delegate.Handle);
 }
예제 #2
0
 public virtual void SetReadStringEventDelegate(Epos2KbdReadStringDelegate @delegate)
 {
     if (@delegate == null)
     {
         throw new ArgumentNullException("@delegate");
     }
     if (IsDirectBinding)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(this.Handle, Selector.GetHandle("setReadStringEventDelegate:"), @delegate.Handle);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSendSuper_IntPtr(this.SuperHandle, Selector.GetHandle("setReadStringEventDelegate:"), @delegate.Handle);
     }
 }