private void Commit_Click(object sender, EventArgs e) { if (Message.Text.Length == 0) { MessageBox.Show("Please enter commit message"); return; } try { OutPut.Text = ""; CommitDto dto = new CommitDto(Message.Text); GitCommands.Commit commit = new GitCommands.Commit(dto); commit.Execute(); if (OutPut.Text.Length == 0) OutPut.Text = "Command executed \n"; OutPut.Text += dto.Result; Initialize(); } catch { } }
public CommitHelper(CommitDto dto) { Dto = dto; }
public Commit(CommitDto dto) { Dto = dto; }
public Commit(CommitDto dto) { this.Dto = dto; }