예제 #1
0
 public Internal(IGitCli cli, IBranchSettings settings, IRepositoryMediator repository, IUnitOfWorkFactory unitOfWorkFactory, string deletingBranch, DeleteBranchMode mode)
 {
     this.cli               = cli;
     this.settings          = settings;
     this.repository        = repository;
     this.unitOfWorkFactory = unitOfWorkFactory;
     this.deletingBranch    = deletingBranch;
     this.mode              = mode;
 }
예제 #2
0
 public void DeleteBranch(string branchName, [FromServices] IOrchestrationActions orchestrationActions, [FromQuery] DeleteBranchMode mode = DeleteBranchMode.BranchAndGroup)
 {
     orchestrationActions.DeleteBranch(branchName, mode);
 }
예제 #3
0
 public IObservable <IRepositoryActionEntry> DeleteBranch(string branchName, DeleteBranchMode mode)
 {
     return(orchestration.EnqueueAction(new DeleteBranchAction(branchName, mode)));
 }
예제 #4
0
 public DeleteBranchAction(string deletingBranch, DeleteBranchMode mode)
 {
     this.deletingBranch = deletingBranch;
     this.mode           = mode;
 }