//~GalleryItems() //{ // Dispose(false); //} protected virtual void Dispose(bool disposing) { if (disposing) { if (_collectionChanged != null) { _collectionChanged.ChangedEvent -= CollectionChanged_ChangedEvent; _collectionChanged.Detach(); } } }
//~QatCommands() //{ // Dispose(false); //} private void Dispose(bool disposing) { if (disposing) { if (_collectionChanged != null) { _collectionChanged.ChangedEvent -= CollectionChanged_ChangedEvent; _collectionChanged.Detach(); } } }