11 references to AddEndpointFilterFactory
Microsoft.AspNetCore.Routing (3)
Builder\EndpointFilterExtensions.cs (3)
23
builder.
AddEndpointFilterFactory
((routeHandlerContext, next) => (context) => filter.InvokeAsync(context, next));
48
builder.
AddEndpointFilterFactory
((routeHandlerContext, next) =>
95
return builder.
AddEndpointFilterFactory
((routeHandlerContext, next) => (context) => routeHandlerFilter(context, next));
Microsoft.AspNetCore.Routing.Tests (4)
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (3)
121
var endpointBuilder = map(builder, "/", initialRequestDelegate).
AddEndpointFilterFactory
(filterFactory: (routeHandlerContext, next) =>
201
.
AddEndpointFilterFactory
(filterFactory: (routeHandlerContext, next) =>
334
var endpointBuilder = map(builder, "/", initialRequestDelegate).
AddEndpointFilterFactory
((routeHandlerContext, next) =>
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (1)
873
builder.
AddEndpointFilterFactory
((routeHandlerContext, next) => async (context) =>
MinimalSample (2)
Program.cs (2)
26
inner.
AddEndpointFilterFactory
((routeContext, next) =>
44
inner.
AddEndpointFilterFactory
((routeContext, next) =>
Mvc.RoutingWebSite (2)
StartupForEndpointFilters.cs (2)
28
builder.MapControllers().
AddEndpointFilterFactory
((context, next) =>
41
}).
AddEndpointFilterFactory
((context, next) =>