예제 #1
0
 public CommandFailedEventArgs(FailedResult res, CommandCalledEventArgs args)
 {
     Result    = res;
     Context   = args.Context;
     Arguments = args.Arguments;
     Command   = args.Command;
     Stopwatch = args.Stopwatch;
 }
예제 #2
0
 public CommandBadRequestEventArgs(BadRequestResult res, ResultCompletionData data, CommandCalledEventArgs args)
 {
     Result = res;
     ResultCompletionData = data;
     Context   = args.Context;
     Arguments = args.Arguments;
     Command   = args.Command;
     Stopwatch = args.Stopwatch;
 }