45 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 (21)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\GeneratedRouteBuilderExtensions.g.cs (21)
90EndpointFilterDelegate? filteredInvocation = null; 210EndpointFilterDelegate? filteredInvocation = null; 393EndpointFilterDelegate? filteredInvocation = null; 511EndpointFilterDelegate? filteredInvocation = null; 695EndpointFilterDelegate? filteredInvocation = null; 812EndpointFilterDelegate? filteredInvocation = null; 958EndpointFilterDelegate? filteredInvocation = null; 1076EndpointFilterDelegate? filteredInvocation = null; 1192EndpointFilterDelegate? filteredInvocation = null; 1307EndpointFilterDelegate? filteredInvocation = null; 1411EndpointFilterDelegate? filteredInvocation = null; 1528EndpointFilterDelegate? filteredInvocation = null; 1633EndpointFilterDelegate? filteredInvocation = null; 1770EndpointFilterDelegate? filteredInvocation = null; 1893EndpointFilterDelegate? filteredInvocation = null; 2010EndpointFilterDelegate? filteredInvocation = null; 2115EndpointFilterDelegate? filteredInvocation = null; 2234EndpointFilterDelegate? filteredInvocation = null; 2323private static EndpointFilterDelegate BuildFilterDelegate(EndpointFilterDelegate filteredInvocation, EndpointBuilder builder, MethodInfo mi) 2331var 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\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\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)