Пример #1
0
 private void OnRunCommand()
 {
     OutputText += $"> {CommandText}\n";
     try
     {
         var result = _scriptingService.RunCommand(_commandText);
     }
     catch (SyntaxErrorException ex)
     {
         OutputText += $"{ex.DecoratedMessage}\n";
     }
     catch (Exception ex)
     {
     }
     CommandText = string.Empty;
 }