void IBranchMenuOperations.DeleteBranch() { RepositorySpec repSpec = BranchesSelection.GetSelectedRepository(mBranchesListView); List <RepositorySpec> repositories = BranchesSelection.GetSelectedRepositories(mBranchesListView); List <BranchInfo> branchesToDelete = BranchesSelection.GetSelectedBranches(mBranchesListView); mBranchOperations.DeleteBranch(repositories, branchesToDelete); }
void IBranchMenuOperations.DeleteBranch() { RepositorySpec repSpec = BranchesSelection.GetSelectedRepository(mBranchesListView); List <RepositorySpec> repositories = BranchesSelection.GetSelectedRepositories(mBranchesListView); List <BranchInfo> branchesToDelete = BranchesSelection.GetSelectedBranches(mBranchesListView); mBranchOperations.DeleteBranch(repositories, branchesToDelete, () => { TrackFeatureUseEvent.For( repSpec, TrackFeatureUseEvent.Features.DeleteBranch); }); }