예제 #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
 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
 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
 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
 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();
 }