protected override void Dispose(bool disposing) { if (disposing) { UnsubscribeAllNotifications(); } base.Dispose(disposing); }