public CancellablePipeline <Request> CancellablePipeline() { var cancellableAsyncPipeline = new CancellablePipeline <Request>(_mediatorBuilder); _mediatorBuilder.AddCancellablePipeline <Request>(cancellableAsyncPipeline); return(cancellableAsyncPipeline); }