public void AttachToEnvironment(IWorkingEnvironment environment) { Verify.Argument.IsNotNull(environment, "environment"); _repositoryExplorer = new RepositoryExplorer(environment, this); environment.ProvideRepositoryExplorerItem(_repositoryExplorer.RootItem); }
public void AttachToEnvironment(IWorkingEnvironment environment) { Verify.Argument.IsNotNull(environment, "environment"); _repositoryExplorer = new RepositoryExplorer(environment, this); environment.ProvideRepositoryExplorerItem(_repositoryExplorer.RootItem); }
public void DetachFromEnvironment(IWorkingEnvironment environment) { Verify.Argument.IsNotNull(environment, "environment"); var views1 = environment.ViewDockService.FindViews(Guids.BuildTypeBuildsViewGuid).ToList(); foreach(var view in views1) view.Close(); environment.RemoveRepositoryExplorerItem(_repositoryExplorer.RootItem); _repositoryExplorer = null; }
public void DetachFromEnvironment(IWorkingEnvironment environment) { Verify.Argument.IsNotNull(environment, "environment"); var views1 = environment.ViewDockService.FindViews(Guids.BuildTypeBuildsViewGuid).ToList(); foreach (var view in views1) { view.Close(); } environment.RemoveRepositoryExplorerItem(_repositoryExplorer.RootItem); _repositoryExplorer = null; }