Ejemplo n.º 1
0
 public static void SetCardNumberOnCardInfo(this ICCCCardFormatterDelegate This, CCCCardInfo cardInfo)
 {
     if (cardInfo == null)
     {
         throw new ArgumentNullException("cardInfo");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setCardNumberOnCardInfo:"), cardInfo.Handle);
 }
Ejemplo n.º 2
0
 public static void SetMaskFormat(this ICCCCardFormatterDelegate This, CCCCardMaskFormat value)
 {
     if (IntPtr.Size == 8)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_Int64(This.Handle, Selector.GetHandle("setMaskFormat:"), (Int64)value);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_int(This.Handle, Selector.GetHandle("setMaskFormat:"), (int)value);
     }
 }
Ejemplo n.º 3
0
        public static CCCCardMaskFormat GetMaskFormat(this ICCCCardFormatterDelegate This)
        {
            CCCCardMaskFormat ret;

            if (IntPtr.Size == 8)
            {
                ret = (CCCCardMaskFormat)global::ApiDefinition.Messaging.Int64_objc_msgSend(This.Handle, Selector.GetHandle("maskFormat"));
            }
            else
            {
                ret = (CCCCardMaskFormat)global::ApiDefinition.Messaging.int_objc_msgSend(This.Handle, Selector.GetHandle("maskFormat"));
            }
            return(ret);
        }
Ejemplo n.º 4
0
 public static ushort GetMaskCharacter(this ICCCCardFormatterDelegate This)
 {
     return(global::ApiDefinition.Messaging.UInt16_objc_msgSend(This.Handle, Selector.GetHandle("maskCharacter")));
 }
Ejemplo n.º 5
0
 public static void SetValidCard(this ICCCCardFormatterDelegate This, bool value)
 {
     global::ApiDefinition.Messaging.void_objc_msgSend_bool(This.Handle, Selector.GetHandle("setValidCard:"), value);
 }
Ejemplo n.º 6
0
 public static bool GetValidCard(this ICCCCardFormatterDelegate This)
 {
     return(global::ApiDefinition.Messaging.bool_objc_msgSend(This.Handle, Selector.GetHandle("validCard")));
 }
Ejemplo n.º 7
0
 public static void SetMaskCharacter(this ICCCCardFormatterDelegate This, ushort value)
 {
     global::ApiDefinition.Messaging.void_objc_msgSend_UInt16(This.Handle, Selector.GetHandle("setMaskCharacter:"), value);
 }