示例#1
0
 public InternalNSNotificationHandler(NSNotificationCenter notificationCenter, Action<NSNotification> notify)
 {
     this.notificationCenter = notificationCenter;
     this.notify = notify;
     IsDirectBinding = false;
 }
示例#2
0
 protected override void Dispose(bool disposing)
 {
     if (disposing && notificationCenter != null){
         notificationCenter.RemoveObserver (this);
         notificationCenter = null;
     }
     base.Dispose (disposing);
 }
示例#3
0
 public InternalNSNotificationHandler(NSNotificationCenter notificationCenter, Action <NSNotification> notify)
 {
     this.notificationCenter = notificationCenter;
     this.notify             = notify;
     IsDirectBinding         = false;
 }