コード例 #1
0
 public GitRebaseCommand(ISettingAgent settingAgent, IRepositoryBusines repositoryBusiness, ITalkAgent talkAgent, IGitBusiness gitBusiness)
     : base(settingAgent, "Rebase", new[] { "rebase" })
 {
     _repositoryBusiness = repositoryBusiness;
     _talkAgent          = talkAgent;
     _gitBusiness        = gitBusiness;
 }
コード例 #2
0
ファイル: GitStatusCommand.cs プロジェクト: poxet/GitBitch
 public GitStatusCommand(ISettingAgent settingAgent, IRepositoryBusines repositoryBusiness, ITalkAgent talkAgent, IGitBusiness gitBusiness)
     : base(settingAgent, "Status", new[] { "status" })
 {
     _repositoryBusiness = repositoryBusiness;
     _talkAgent          = talkAgent;
     _gitBusiness        = gitBusiness;
 }
コード例 #3
0
 public GitUnstageCommand(ISettingAgent settingAgent, IRepositoryBusines repositoryBusiness, ITalkAgent talkAgent, IGitBusiness gitBusiness)
     : base(settingAgent, "Unstage", new[] { "unstage", "remove", "soft reset", "reset soft" })
 {
     _repositoryBusiness = repositoryBusiness;
     _talkAgent          = talkAgent;
     _gitBusiness        = gitBusiness;
 }
コード例 #4
0
ファイル: GitCommitCommand.cs プロジェクト: poxet/GitBitch
 public GitCommitCommand(ISettingAgent settingAgent, IRepositoryBusines repositoryBusiness, ITalkAgent talkAgent, IGitBusiness gitBusiness, IQuestionAgent questionAgent)
     : base(settingAgent, "Commit", new[] { "commit", "stage and commit", "stage commit", "amend" })
 {
     _repositoryBusiness = repositoryBusiness;
     _talkAgent          = talkAgent;
     _gitBusiness        = gitBusiness;
     _questionAgent      = questionAgent;
 }
コード例 #5
0
 public GitStashPopCommand(ISettingAgent settingAgent, IRepositoryBusines repositoryBusiness, ITalkAgent talkAgent, IGitBusiness gitBusiness, IQuestionAgent questionAgent)
     : base(settingAgent, "Pop", new[] { "stash pop", "pop", "pop the stash", "pop stash" })
 {
     _repositoryBusiness = repositoryBusiness;
     _talkAgent          = talkAgent;
     _gitBusiness        = gitBusiness;
     _questionAgent      = questionAgent;
 }
コード例 #6
0
ファイル: GitPullCommand.cs プロジェクト: poxet/GitBitch
 public GitPullCommand(ISettingAgent settingAgent, IRepositoryBusines repositoryBusiness, ITalkAgent talkAgent, IGitBusiness gitBusiness, IQuestionAgent questionAgent)
     : base(settingAgent, "pull", new[] { "pull" })
 {
     _repositoryBusiness = repositoryBusiness;
     _talkAgent          = talkAgent;
     _gitBusiness        = gitBusiness;
     _questionAgent      = questionAgent;
 }
コード例 #7
0
 public GitResetHardCommand(ISettingAgent settingAgent, IRepositoryBusines repositoryBusiness, ITalkAgent talkAgent, IGitBusiness gitBusiness, IQuestionAgent questionAgent)
     : base(settingAgent, "Reset", new[] { "reset hard", "hard reset" })
 {
     _repositoryBusiness = repositoryBusiness;
     _talkAgent          = talkAgent;
     _gitBusiness        = gitBusiness;
     _questionAgent      = questionAgent;
 }
コード例 #8
0
ファイル: MainFrm.cs プロジェクト: hstarorg/GameArchiveSync
 public MainFrm()
 {
     InitializeComponent();
     ClbGameArchive.DisplayMember = "GameName";
     this.gasBiz = new DefaultGameArchiveSyncBusiness(GlobalConfig.DbPath);
     this.gitBiz = new DefaultGitBusiness();
     this.LoadData();
 }
コード例 #9
0
 public GitStashCommand(ISettingAgent settingAgent, IRepositoryBusines repositoryBusiness, ITalkAgent talkAgent, IGitBusiness gitBusiness, IQuestionAgent questionAgent)
     : base(settingAgent, "Stash", new[] { "stash", "stash save", "save stash", "save to stash" })
 {
     _repositoryBusiness = repositoryBusiness;
     _talkAgent          = talkAgent;
     _gitBusiness        = gitBusiness;
     _questionAgent      = questionAgent;
 }
コード例 #10
0
 public SettingsFrm()
 {
     InitializeComponent();
     this.gitBiz = new DefaultGitBusiness();
     this.gasBiz = new DefaultGameArchiveSyncBusiness(GlobalConfig.DbPath);
 }
コード例 #11
0
 public DefaultGameArchiveSyncBusiness(string dbPath)
 {
     this.DbPath = dbPath;
     this.gitBiz = new DefaultGitBusiness();
 }