public static void SetConnectionEventDelegate(this IEpos2LineDisplay This, Epos2ConnectionDelegate @delegate)
 {
     if (@delegate == null)
     {
         throw new ArgumentNullException("@delegate");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setConnectionEventDelegate:"), @delegate.Handle);
 }
 public virtual void SetConnectionEventDelegate(Epos2ConnectionDelegate @delegate)
 {
     if (@delegate == null)
     {
         throw new ArgumentNullException("@delegate");
     }
     if (IsDirectBinding)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(this.Handle, Selector.GetHandle("setConnectionEventDelegate:"), @delegate.Handle);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSendSuper_IntPtr(this.SuperHandle, Selector.GetHandle("setConnectionEventDelegate:"), @delegate.Handle);
     }
 }