public void NewObject()
    {
        var obj = new UIUserNotificationSettings();

        Assert.AreNotEqual(IntPtr.Zero, obj.ClassHandle);
        Assert.AreNotEqual(IntPtr.Zero, obj.Handle);
    }
예제 #2
0
 public void RegisterUserNotificationSettings(UIUserNotificationSettings notificationSettings)
 {
     ObjC.MessageSend(Handle, "registerUserNotificationSettings:", notificationSettings.Handle);
 }
 public void NewObjectDispose()
 {
     var obj = new UIUserNotificationSettings();
     obj.Dispose();
 }
 public void ObjectSame()
 {
     var a = new UIUserNotificationSettings();
     var b = Runtime.GetNSObject<UIUserNotificationSettings>(a.Handle);
     Assert.AreSame(a, b);
 }
예제 #5
0
 public void RegisterUserNotificationSettings(UIUserNotificationSettings notificationSettings)
 {
     ObjC.MessageSend(Handle, "registerUserNotificationSettings:", notificationSettings.Handle);
 }