Method Handle
- Namespace
- Mediarion
- Assembly
- Mediarion.dll
Handle(TRequest, RequestHandlerDelegate<TResponse>, CancellationToken)
Runs around the rest of the pipeline.
[SuppressMessage("Naming", "CA1716:Identifiers should not match keywords", Justification = "The parameter name is part of the API this library is a drop-in for.")]
Task<TResponse> Handle(TRequest request, RequestHandlerDelegate<TResponse> next, CancellationToken cancellationToken)
Parameters
requestTRequestThe request.
nextRequestHandlerDelegate<TResponse>The rest of the pipeline.
cancellationTokenCancellationTokenCancels the operation.
Returns
- Task<TResponse>
The response.