Exemple #1
0
 public CommitsService(
     IMessage message,
     IRepositoryCommands repositoryCommands,
     Func <SetBranchPromptDialog> setBranchPromptDialogProvider,
     IGitCommitBranchNameService gitCommitBranchNameService,
     IDiffService diffService,
     ILinkService linkService,
     IRepositoryMgr repositoryMgr,
     IProgressService progressService,
     IStatusService statusService,
     IGitCommitService gitCommitService,
     IGitStatusService gitStatusService,
     Func <
         BranchName,
         IEnumerable <CommitFile>,
         string,
         bool,
         CommitDialog> commitDialogProvider)
 {
     this.commitDialogProvider = commitDialogProvider;
     this.gitCommitService     = gitCommitService;
     this.gitStatusService     = gitStatusService;
     this.message                       = message;
     this.repositoryCommands            = repositoryCommands;
     this.setBranchPromptDialogProvider = setBranchPromptDialogProvider;
     this.gitCommitBranchNameService    = gitCommitBranchNameService;
     this.diffService                   = diffService;
     this.linkService                   = linkService;
     this.repositoryMgr                 = repositoryMgr;
     this.progress                      = progressService;
     this.statusService                 = statusService;
 }
 public BranchTipMonitorService(
     IGitBranchService gitBranchService,
     IGitCommitBranchNameService gitCommitBranchNameService)
 {
     this.gitBranchService           = gitBranchService;
     this.gitCommitBranchNameService = gitCommitBranchNameService;
 }
 public BranchTipMonitorService(
     IGitBranchService gitBranchService,
     IGitCommitBranchNameService gitCommitBranchNameService,
     IGitSettings gitSettings)
 {
     this.gitBranchService           = gitBranchService;
     this.gitCommitBranchNameService = gitCommitBranchNameService;
     this.gitSettings = gitSettings;
 }
Exemple #4
0
 public RemoteService(
     IRepositoryMgr repositoryMgr,
     IProgressService progress,
     IMessage message,
     IStatusService statusService,
     IGitFetchService gitFetchService,
     IGitMergeService gitMergeService,
     IGitPushService gitPushService,
     IGitCommitBranchNameService gitCommitBranchNameService)
 {
     this.repositoryMgr              = repositoryMgr;
     this.progress                   = progress;
     this.message                    = message;
     this.statusService              = statusService;
     this.gitFetchService            = gitFetchService;
     this.gitMergeService            = gitMergeService;
     this.gitPushService             = gitPushService;
     this.gitCommitBranchNameService = gitCommitBranchNameService;
 }
        //private readonly IDiffService diffService;



        public RepositoryStructureService(
            IBranchService branchService,
            IStatusService statusService,
            ICommitBranchNameService commitBranchNameService,
            IGitCommitBranchNameService gitCommitBranchNameService,
            IBranchHierarchyService branchHierarchyService,
            ITagService tagService,
            ICommitsService commitsService,
            IGitBranchService gitBranchService
            //IDiffService diffService
            )
        {
            this.branchService              = branchService;
            this.statusService              = statusService;
            this.commitBranchNameService    = commitBranchNameService;
            this.gitCommitBranchNameService = gitCommitBranchNameService;
            this.branchHierarchyService     = branchHierarchyService;
            this.tagService       = tagService;
            this.commitsService   = commitsService;
            this.gitBranchService = gitBranchService;
            //this.diffService = diffService;
        }