示例#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);
 }
示例#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);
     }
 }
示例#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);
        }
示例#4
0
 public static ushort GetMaskCharacter(this ICCCCardFormatterDelegate This)
 {
     return(global::ApiDefinition.Messaging.UInt16_objc_msgSend(This.Handle, Selector.GetHandle("maskCharacter")));
 }
示例#5
0
 public static void SetValidCard(this ICCCCardFormatterDelegate This, bool value)
 {
     global::ApiDefinition.Messaging.void_objc_msgSend_bool(This.Handle, Selector.GetHandle("setValidCard:"), value);
 }
示例#6
0
 public static bool GetValidCard(this ICCCCardFormatterDelegate This)
 {
     return(global::ApiDefinition.Messaging.bool_objc_msgSend(This.Handle, Selector.GetHandle("validCard")));
 }
示例#7
0
 public static void SetMaskCharacter(this ICCCCardFormatterDelegate This, ushort value)
 {
     global::ApiDefinition.Messaging.void_objc_msgSend_UInt16(This.Handle, Selector.GetHandle("setMaskCharacter:"), value);
 }