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