Example #1
0
 public Task <TOutput> BuildAndInvoke(IMiddlewareInstanceFactory <TInput, TOutput> currentMiddlewarefactory,
                                      TInput input)
 {
     return(_executionPlan(currentMiddlewarefactory)(input));
 }
Example #2
0
 public MiddlewareBlueprintExecutionPlan(MiddlewareRegistry registry)
 {
     _executionPlan = CreateMiddlewareChain(registry.Middlewares);
 }