94 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)
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)
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)
Microsoft.AspNetCore.Routing.Tests (3)
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (1)
300public async ValueTask<object?> InvokeAsync(EndpointFilterInvocationContext context, EndpointFilterDelegate next)
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (2)
1082public async ValueTask<object?> InvokeAsync(EndpointFilterInvocationContext context, EndpointFilterDelegate next) 1092public async ValueTask<object?> InvokeAsync(EndpointFilterInvocationContext context, EndpointFilterDelegate next)
Sample (54)
artifacts\obj\Sample\Release\net10.0\generated\Microsoft.AspNetCore.Http.RequestDelegateGenerator\Microsoft.AspNetCore.Http.RequestDelegateGenerator.RequestDelegateGenerator\GeneratedRouteBuilderExtensions.g.cs (54)
85EndpointFilterDelegate? filteredInvocation = null; 197EndpointFilterDelegate? filteredInvocation = null; 318EndpointFilterDelegate? filteredInvocation = null; 440EndpointFilterDelegate? filteredInvocation = null; 578EndpointFilterDelegate? filteredInvocation = null; 663EndpointFilterDelegate? filteredInvocation = null; 748EndpointFilterDelegate? filteredInvocation = null; 832EndpointFilterDelegate? filteredInvocation = null; 919EndpointFilterDelegate? filteredInvocation = null; 1006EndpointFilterDelegate? filteredInvocation = null; 1095EndpointFilterDelegate? filteredInvocation = null; 1270EndpointFilterDelegate? filteredInvocation = null; 1394EndpointFilterDelegate? filteredInvocation = null; 1503EndpointFilterDelegate? filteredInvocation = null; 1644EndpointFilterDelegate? filteredInvocation = null; 1766EndpointFilterDelegate? filteredInvocation = null; 1870EndpointFilterDelegate? filteredInvocation = null; 1955EndpointFilterDelegate? filteredInvocation = null; 2056EndpointFilterDelegate? filteredInvocation = null; 2175EndpointFilterDelegate? filteredInvocation = null; 2294EndpointFilterDelegate? filteredInvocation = null; 2413EndpointFilterDelegate? filteredInvocation = null; 2532EndpointFilterDelegate? filteredInvocation = null; 2651EndpointFilterDelegate? filteredInvocation = null; 2770EndpointFilterDelegate? filteredInvocation = null; 2889EndpointFilterDelegate? filteredInvocation = null; 3012EndpointFilterDelegate? filteredInvocation = null; 3138EndpointFilterDelegate? filteredInvocation = null; 3264EndpointFilterDelegate? filteredInvocation = null; 3369EndpointFilterDelegate? filteredInvocation = null; 3473EndpointFilterDelegate? filteredInvocation = null; 3596EndpointFilterDelegate? filteredInvocation = null; 3719EndpointFilterDelegate? filteredInvocation = null; 3825EndpointFilterDelegate? filteredInvocation = null; 3913EndpointFilterDelegate? filteredInvocation = null; 4014EndpointFilterDelegate? filteredInvocation = null; 4137EndpointFilterDelegate? filteredInvocation = null; 4260EndpointFilterDelegate? filteredInvocation = null; 4366EndpointFilterDelegate? filteredInvocation = null; 4453EndpointFilterDelegate? filteredInvocation = null; 4543EndpointFilterDelegate? filteredInvocation = null; 4682EndpointFilterDelegate? filteredInvocation = null; 4791EndpointFilterDelegate? filteredInvocation = null; 4914EndpointFilterDelegate? filteredInvocation = null; 4997EndpointFilterDelegate? filteredInvocation = null; 5102EndpointFilterDelegate? filteredInvocation = null; 5225EndpointFilterDelegate? filteredInvocation = null; 5344EndpointFilterDelegate? filteredInvocation = null; 5463EndpointFilterDelegate? filteredInvocation = null; 5582EndpointFilterDelegate? filteredInvocation = null; 5701EndpointFilterDelegate? filteredInvocation = null; 5801private static EndpointFilterDelegate BuildFilterDelegate(EndpointFilterDelegate filteredInvocation, EndpointBuilder builder, MethodInfo mi) 5809var initialFilteredInvocation = filteredInvocation;