Beispiel #1
0
 public CascadingAsyncHandlerInvoker(IFubuRequest request, THandler handler, Func <THandler, TInput, Task <TOutput> > func, IAsyncHandling asyncHandling)
     : base(PartialBehavior.Executes)
 {
     _request       = request;
     _handler       = handler;
     _func          = func;
     _asyncHandling = asyncHandling;
 }
Beispiel #2
0
 public AsyncHandlerInvoker(IFubuRequest request, IAsyncHandling asyncHandling, TController controller,
                            Func <TController, TInput, Task> func)
     : base(PartialBehavior.Executes)
 {
     _request       = request;
     _asyncHandling = asyncHandling;
     _controller    = controller;
     _func          = func;
 }
 public AsyncHandlingBehavior(IAsyncHandling asyncHandling)
     : base(PartialBehavior.Executes)
 {
     _asyncHandling = asyncHandling;
 }