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