Inheritance: System.EventArgs
Exemplo n.º 1
0
 /// <summary>Handles the CommandEntered event of the Console buffer</summary>
 /// <param name="command">The command.</param>
 protected virtual void OnCommand(CommandEventArgs command)
 {
     Command?.Invoke(this, command);
     _cmdHistory.Add(command.Command.TrimEnd());
     Trace.WriteLine("OnCommand, clearing KeyInfo queue.");
 }
Exemplo n.º 2
0
 protected override void OnCommand(CommandEventArgs command)
 {
     InvokeAsync(command.Command);
     base.OnCommand(command);
 }