public GitRebaseCommand(ISettingAgent settingAgent, IRepositoryBusines repositoryBusiness, ITalkAgent talkAgent, IGitBusiness gitBusiness) : base(settingAgent, "Rebase", new[] { "rebase" }) { _repositoryBusiness = repositoryBusiness; _talkAgent = talkAgent; _gitBusiness = gitBusiness; }
public GitStatusCommand(ISettingAgent settingAgent, IRepositoryBusines repositoryBusiness, ITalkAgent talkAgent, IGitBusiness gitBusiness) : base(settingAgent, "Status", new[] { "status" }) { _repositoryBusiness = repositoryBusiness; _talkAgent = talkAgent; _gitBusiness = gitBusiness; }
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; }
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; }
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; }
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; }
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; }
public MainFrm() { InitializeComponent(); ClbGameArchive.DisplayMember = "GameName"; this.gasBiz = new DefaultGameArchiveSyncBusiness(GlobalConfig.DbPath); this.gitBiz = new DefaultGitBusiness(); this.LoadData(); }
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; }
public SettingsFrm() { InitializeComponent(); this.gitBiz = new DefaultGitBusiness(); this.gasBiz = new DefaultGameArchiveSyncBusiness(GlobalConfig.DbPath); }
public DefaultGameArchiveSyncBusiness(string dbPath) { this.DbPath = dbPath; this.gitBiz = new DefaultGitBusiness(); }