internal void Edit(RepositoryNode node) { if (RepositoryDialogManager.Show(node.Repository, false)) { this.UpdateRepositoryNode(node); } }
public void AddCxFromTemplate(Repository template) { Repository repository = template.Clone(); repository.ID = Guid.NewGuid(); if (RepositoryDialogManager.Show(repository, false)) { repository.SaveToDisk(); this.AddCx(repository, true, true); } }
public void AddCx() { Repository repository2 = new Repository { Persist = true }; if (RepositoryDialogManager.Show(repository2, true)) { repository2.SaveToDisk(); this.AddCx(repository2, true, true); } }