Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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);
- }
Add Comment
Please, Sign In to add comment