상속: System.EventArgs
예제 #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.");
 }
예제 #2
0
 protected override void OnCommand(CommandEventArgs command)
 {
     InvokeAsync(command.Command);
     base.OnCommand(command);
 }