37 references to EndpointFilterDelegate
Microsoft.AspNetCore.Http.Abstractions (5)
Extensions\EndpointBuilder.cs (4)
13private List<Func<EndpointFilterFactoryContext, EndpointFilterDelegate, EndpointFilterDelegate>>? _filterFactories; 18public IList<Func<EndpointFilterFactoryContext, EndpointFilterDelegate, EndpointFilterDelegate>> FilterFactories => _filterFactories ??= new();
IEndpointFilter.cs (1)
19ValueTask<object?> InvokeAsync(EndpointFilterInvocationContext context, EndpointFilterDelegate next);
Microsoft.AspNetCore.Http.Extensions (5)
RequestDelegateFactory.cs (5)
347EndpointFilterDelegate? filterPipeline = null; 421private static EndpointFilterDelegate? CreateFilterPipeline(MethodInfo methodInfo, Expression? targetExpression, RequestDelegateFactoryContext factoryContext, Expression<Func<HttpContext, object?>>? targetFactory) 481var filteredInvocation = Expression.Lambda<EndpointFilterDelegate>( 493var initialFilteredInvocation = filteredInvocation;
Microsoft.AspNetCore.Identity (13)
_generated\0\GeneratedRouteBuilderExtensions.g.cs (13)
88EndpointFilterDelegate? filteredInvocation = null; 208EndpointFilterDelegate? filteredInvocation = null; 392EndpointFilterDelegate? filteredInvocation = null; 509EndpointFilterDelegate? filteredInvocation = null; 655EndpointFilterDelegate? filteredInvocation = null; 773EndpointFilterDelegate? filteredInvocation = null; 889EndpointFilterDelegate? filteredInvocation = null; 1006EndpointFilterDelegate? filteredInvocation = null; 1123EndpointFilterDelegate? filteredInvocation = null; 1228EndpointFilterDelegate? filteredInvocation = null; 1342private static EndpointFilterDelegate BuildFilterDelegate(EndpointFilterDelegate filteredInvocation, EndpointBuilder builder, MethodInfo mi) 1350var initialFilteredInvocation = filteredInvocation;
Microsoft.AspNetCore.Mvc.Core (3)
Controllers\ControllerActionDescriptor.cs (1)
40internal EndpointFilterDelegate? FilterDelegate { get; set; }
Routing\ActionEndpointFactory.cs (2)
460EndpointFilterDelegate del = static invocationContext => 473var initialFilteredInvocation = del;
Microsoft.AspNetCore.OpenApi (4)
_generated\0\GeneratedRouteBuilderExtensions.g.cs (4)
84EndpointFilterDelegate? filteredInvocation = null; 180private static EndpointFilterDelegate BuildFilterDelegate(EndpointFilterDelegate filteredInvocation, EndpointBuilder builder, MethodInfo mi) 188var initialFilteredInvocation = filteredInvocation;
Microsoft.AspNetCore.Routing (7)
Builder\EndpointFilterExtensions.cs (3)
92public static TBuilder AddEndpointFilter<TBuilder>(this TBuilder builder, Func<EndpointFilterInvocationContext, EndpointFilterDelegate, ValueTask<object?>> routeHandlerFilter) 104public static TBuilder AddEndpointFilterFactory<TBuilder>(this TBuilder builder, Func<EndpointFilterFactoryContext, EndpointFilterDelegate, EndpointFilterDelegate> filterFactory)
RequestDelegateFilterPipelineBuilder.cs (2)
32EndpointFilterDelegate filteredInvocation = async (EndpointFilterInvocationContext context) => 41var initialFilteredInvocation = filteredInvocation;
ValidationEndpointFilterFactory.cs (2)
23public static EndpointFilterDelegate Create(EndpointFilterFactoryContext context, EndpointFilterDelegate next)