示例#1
0
 private static void command_onCommandRejected(object sender, CommandRejectedEventArgs eventArgs)
 {
     Console.WriteLine();
     Console.WriteLine($"!!! Rejected command: {eventArgs.Command.Name} on {eventArgs.DateRejected} reason: {eventArgs.Reason}");
 }
示例#2
0
 protected virtual void OnCommandRejected(object sender, CommandRejectedEventArgs eventArgs)
 {
     CommandRejected?.Invoke(sender, eventArgs);
 }