Esempio n. 1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         imageLoader.Dispose();
     }
     base.Dispose(disposing);
 }
        protected override void Dispose(bool disposing)
        {
            imageLoader.Loaded -= ImageLoaded;
            imageLoader.Dispose();

            viewModel.PropertyChanged -= ViewModelPropertyChanged;
            parentViewModel.Dispose();
            DisposeExistingTimer();
            base.Dispose(disposing);
        }
Esempio n. 3
0
        protected override void Dispose(bool disposing)
        {
            imageLoader.Loaded -= ImageLoaded;
            imageLoader.Dispose();

            RemoveSelectedPackagePropertyChangedEventHandler();
            viewModel.PropertyChanged -= ViewModelPropertyChanged;
            viewModel.Dispose();
            DisposeExistingTimer();
            DisposePopulatePackageVersionsTimer();
            packageStore.Clear();
            viewModel = null;
            base.Dispose(disposing);
        }
Esempio n. 4
0
        protected override void Dispose(bool disposing)
        {
            closeButton.Clicked -= CloseButtonClicked;
            currentPackageVersionLabel.BoundsChanged -= PackageVersionLabelBoundsChanged;

            imageLoader.Loaded -= ImageLoaded;
            imageLoader.Dispose();

            RemoveSelectedPackagePropertyChangedEventHandler();
            viewModel.PropertyChanged -= ViewModelPropertyChanged;
            viewModel.Dispose();
            DisposeExistingTimer();
            DisposePopulatePackageVersionsTimer();
            packageStore.Clear();
            projectStore?.Clear();
            viewModel = null;

            base.Dispose(disposing);
        }