private TypedRouteHandler CreateRouteEntry(RouteMatcher key, IEnumerable <RouteHandlerAsync> handlers) { var entry = new TypedRouteHandler(key, handlers); entry.Before = this.OnBeforeProcess; entry.After = this.OnAfterProcess; return(entry); }
public TypedRouteHandler(RouteMatcher key, IEnumerable <RouteHandlerAsync> handlerChain) { this.Matcher = key; this.Handlers = handlerChain; }