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