示例#1
0
 public static void SetProfileID(this ICCCAccount This, NSNumber value)
 {
     if (value == null)
     {
         throw new ArgumentNullException("value");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setProfileID:"), value.Handle);
 }
示例#2
0
        public static void SetAccountType(this ICCCAccount This, string value)
        {
            if (value == null)
            {
                throw new ArgumentNullException("value");
            }
            var nsvalue = NSString.CreateNative(value);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setAccountType:"), nsvalue);
            NSString.ReleaseNative(nsvalue);
        }
示例#3
0
 public static string GetAccountType(this ICCCAccount This)
 {
     return(NSString.FromHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("accountType"))));
 }
示例#4
0
 public static NSData GetDataForObject(this ICCCAccount This)
 {
     return(Runtime.GetNSObject <NSData> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("dataForObject"))));
 }
示例#5
0
 public static void SetGovernmentIssued(this ICCCAccount This, bool value)
 {
     global::ApiDefinition.Messaging.void_objc_msgSend_bool(This.Handle, Selector.GetHandle("setGovernmentIssued:"), value);
 }
示例#6
0
 public static NSNumber GetProfileID(this ICCCAccount This)
 {
     return(Runtime.GetNSObject <NSNumber> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("profileID"))));
 }
示例#7
0
 public static bool GetGovernmentIssued(this ICCCAccount This)
 {
     return(global::ApiDefinition.Messaging.bool_objc_msgSend(This.Handle, Selector.GetHandle("governmentIssued")));
 }
示例#8
0
 public static NSDate GetExpirationDate(this ICCCAccount This)
 {
     return(Runtime.GetNSObject <NSDate> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("expirationDate"))));
 }
示例#9
0
 public static bool GetDefaultAccount(this ICCCAccount This)
 {
     return(global::ApiDefinition.Messaging.bool_objc_msgSend(This.Handle, Selector.GetHandle("defaultAccount")));
 }
示例#10
0
 public static void SetAccountUpdaterOptOut(this ICCCAccount This, bool value)
 {
     global::ApiDefinition.Messaging.void_objc_msgSend_bool(This.Handle, Selector.GetHandle("setAccountUpdaterOptOut:"), value);
 }
示例#11
0
 public static bool GetAccountUpdaterOptOut(this ICCCAccount This)
 {
     return(global::ApiDefinition.Messaging.bool_objc_msgSend(This.Handle, Selector.GetHandle("accountUpdaterOptOut")));
 }