Exemplo n.º 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);
 }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 public static int GetErrorCode(this ICTValidationResult This)
 {
     return(global::ApiDefinition.Messaging.int_objc_msgSend(This.Handle, Selector.GetHandle("errorCode")));
 }
Exemplo n.º 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__);
        }
Exemplo n.º 5
0
 public static NSObject GetObject(this ICTValidationResult This)
 {
     return(Runtime.GetNSObject(global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("object"))));
 }
Exemplo n.º 6
0
 public static string GetErrorDesc(this ICTValidationResult This)
 {
     return(NSString.FromHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("errorDesc"))));
 }
Exemplo n.º 7
0
 public static void SetErrorCode(this ICTValidationResult This, int value)
 {
     global::ApiDefinition.Messaging.void_objc_msgSend_int(This.Handle, Selector.GetHandle("setErrorCode:"), value);
 }