private void copyCommitInfoToolStripMenuItem_Click(object sender, EventArgs e) { Clipboard.SetText(string.Concat(_RevisionHeader.GetPlaintText(), Environment.NewLine, RevisionInfo.GetPlaintText())); }
private void copyCommitInfoToolStripMenuItem_Click(object sender, EventArgs e) { var commitInfo = $"{_RevisionHeader.GetPlaintText()}{Environment.NewLine}{RevisionInfo.GetPlaintText()}"; Clipboard.SetText(commitInfo); }
private void copyCommitInfoToolStripMenuItem_Click(object sender, EventArgs e) { var commitInfo = string.Empty; if (EnvUtils.IsMonoRuntime()) { commitInfo = $"{_RevisionHeader.Text}{Environment.NewLine}{RevisionInfo.Text}"; } else { commitInfo = $"{_RevisionHeader.GetPlaintText()}{Environment.NewLine}{RevisionInfo.GetPlaintText()}"; } Clipboard.SetText(commitInfo); }