public override Task Handle(ICancellableAsyncRequest message, CancellationToken cancellationToken)
 {
     return(_inner.Handle((TCommand)message, cancellationToken));
 }
Example #2
0
        public async Task <TResponse> Handle(TRequest message, CancellationToken ct)
        {
            await message.ConfirmValidationAsync(_validator, ct).ConfigureAwait(false);

            return(await _innerHander.Handle(message, ct).ConfigureAwait(false));
        }