public override void Dispose() { _projectFilesViewModel?.Dispose(); _projectsNavigationViewModel?.Dispose(); base.Dispose(); }
public override void Dispose() { _projectFilesViewModel?.Dispose(); if (_projectsController != null) { _projectsController.CurrentProjectChanged -= ProjectsController_CurrentProjectChanged; } if (_editorController != null) { _editorController.Opened -= EditorController_Opened; } _projectsNavigationViewModel?.Dispose(); base.Dispose(); }