예제 #1
0
 public static void SetObject(this ICTValidationResult This, NSObject value)
 {
     if (value == null)
     {
         throw new ArgumentNullException("value");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setObject:"), value.Handle);
 }
예제 #2
0
        public static void SetErrorDesc(this ICTValidationResult This, string value)
        {
            if (value == null)
            {
                ObjCRuntime.ThrowHelper.ThrowArgumentNullException(nameof(value));
            }
            var nsvalue = NSString.CreateNative(value);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setErrorDesc:"), nsvalue);
            NSString.ReleaseNative(nsvalue);
        }
예제 #3
0
 public static int GetErrorCode(this ICTValidationResult This)
 {
     return(global::ApiDefinition.Messaging.int_objc_msgSend(This.Handle, Selector.GetHandle("errorCode")));
 }
예제 #4
0
        public static void SetObject(this ICTValidationResult This, NSObject value)
        {
            var value__handle__ = value.GetNonNullHandle(nameof(value));

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setObject:"), value__handle__);
        }
예제 #5
0
 public static NSObject GetObject(this ICTValidationResult This)
 {
     return(Runtime.GetNSObject(global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("object"))));
 }
예제 #6
0
 public static string GetErrorDesc(this ICTValidationResult This)
 {
     return(NSString.FromHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("errorDesc"))));
 }
예제 #7
0
 public static void SetErrorCode(this ICTValidationResult This, int value)
 {
     global::ApiDefinition.Messaging.void_objc_msgSend_int(This.Handle, Selector.GetHandle("setErrorCode:"), value);
 }