Created
January 9, 2018 15:13
-
-
Save kevingosse/1b161f42016e965e087613f0787b91e7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private async Task ExecuteCommand(string command) | |
{ | |
ContentTextBox.Document.Blocks.Add(new Paragraph(new Run(command))); | |
ContentTextBox.ScrollToEnd(); | |
var result = await _console.ExecuteCommandAndCaptureOutputAsync(command); | |
_historyManager.LogCommand(command, result); | |
AppendDmlOutput(result); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment