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

        Assert.AreNotEqual(IntPtr.Zero, obj.ClassHandle);
        Assert.AreNotEqual(IntPtr.Zero, obj.Handle);
    }
Example #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);
 }
Example #5
0
 public void RegisterUserNotificationSettings(UIUserNotificationSettings notificationSettings)
 {
     ObjC.MessageSend(Handle, "registerUserNotificationSettings:", notificationSettings.Handle);
 }