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