@@ -4889,7 +4889,7 @@ string HelloName(string name)
4889
4889
// Act
4890
4890
var factoryResult = RequestDelegateFactory . Create ( HelloName , new RequestDelegateFactoryOptions ( )
4891
4891
{
4892
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
4892
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
4893
4893
{
4894
4894
( routeHandlerContext , next ) => async ( context ) =>
4895
4895
{
@@ -4921,7 +4921,7 @@ public async Task RequestDelegateFactory_InvokesFilters_OnDelegateWithTarget()
4921
4921
// Act
4922
4922
var factoryResult = RequestDelegateFactory . Create ( ( string name ) => $ "Hello, { name } !", new RequestDelegateFactoryOptions ( )
4923
4923
{
4924
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
4924
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
4925
4925
{
4926
4926
( routeHandlerContext , next ) => async ( context ) =>
4927
4927
{
@@ -4963,7 +4963,7 @@ public async Task RequestDelegateFactory_InvokesFilters_OnMethodInfoWithNullTarg
4963
4963
// Act
4964
4964
var factoryResult = RequestDelegateFactory . Create ( methodInfo ! , null , new RequestDelegateFactoryOptions ( )
4965
4965
{
4966
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
4966
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
4967
4967
{
4968
4968
( routeHandlerContext , next ) => async ( context ) =>
4969
4969
{
@@ -5006,7 +5006,7 @@ public async Task RequestDelegateFactory_InvokesFilters_OnMethodInfoWithProvided
5006
5006
} ;
5007
5007
var factoryResult = RequestDelegateFactory . Create ( methodInfo ! , targetFactory , new RequestDelegateFactoryOptions ( )
5008
5008
{
5009
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5009
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5010
5010
{
5011
5011
( routeHandlerContext , next ) => async ( context ) =>
5012
5012
{
@@ -5043,7 +5043,7 @@ string HelloName(string name)
5043
5043
// Act
5044
5044
var factoryResult = RequestDelegateFactory . Create ( HelloName , new RequestDelegateFactoryOptions ( )
5045
5045
{
5046
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( ) {
5046
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( ) {
5047
5047
( routeHandlerContext , next ) => async ( context ) =>
5048
5048
{
5049
5049
if ( context . HttpContext . Response . StatusCode == 400 )
@@ -5089,7 +5089,7 @@ string HelloName(string name, int age)
5089
5089
// Act
5090
5090
var factoryResult = RequestDelegateFactory . Create ( HelloName , new RequestDelegateFactoryOptions ( )
5091
5091
{
5092
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5092
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5093
5093
{
5094
5094
( routeHandlerContext , next ) => async ( context ) =>
5095
5095
{
@@ -5137,7 +5137,7 @@ string HelloName(string name)
5137
5137
// Act
5138
5138
var factoryResult = RequestDelegateFactory . Create ( HelloName , new RequestDelegateFactoryOptions ( )
5139
5139
{
5140
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5140
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5141
5141
{
5142
5142
( routeHandlerContext , next ) =>
5143
5143
{
@@ -5192,7 +5192,7 @@ string HelloName(IFormFileCollection formFiles)
5192
5192
// Act
5193
5193
var factoryResult = RequestDelegateFactory . Create ( HelloName , new RequestDelegateFactoryOptions ( )
5194
5194
{
5195
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5195
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5196
5196
{
5197
5197
( routeHandlerContext , next ) =>
5198
5198
{
@@ -5243,7 +5243,7 @@ string PrintTodo(Todo todo)
5243
5243
// Act
5244
5244
var factoryResult = RequestDelegateFactory . Create ( PrintTodo , new RequestDelegateFactoryOptions ( )
5245
5245
{
5246
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5246
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5247
5247
{
5248
5248
( routeHandlerContext , next ) => async ( context ) =>
5249
5249
{
@@ -5284,7 +5284,7 @@ string HelloName(string name)
5284
5284
// Act
5285
5285
var factoryResult = RequestDelegateFactory . Create ( HelloName , new RequestDelegateFactoryOptions ( )
5286
5286
{
5287
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5287
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5288
5288
{
5289
5289
( routeHandlerContext , next ) => async ( context ) =>
5290
5290
{
@@ -5327,7 +5327,7 @@ string HelloName(string name)
5327
5327
// Act
5328
5328
var factoryResult = RequestDelegateFactory . Create ( HelloName , new RequestDelegateFactoryOptions ( )
5329
5329
{
5330
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5330
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5331
5331
{
5332
5332
( routeHandlerContext , next ) => async ( context ) =>
5333
5333
{
@@ -5396,7 +5396,7 @@ public async Task CanInvokeFilter_OnTaskOfTReturningHandler(Delegate @delegate)
5396
5396
// Act
5397
5397
var factoryResult = RequestDelegateFactory . Create ( @delegate , new RequestDelegateFactoryOptions ( )
5398
5398
{
5399
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5399
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5400
5400
{
5401
5401
( routeHandlerContext , next ) => async ( context ) =>
5402
5402
{
@@ -5454,7 +5454,7 @@ public async Task CanInvokeFilter_OnValueTaskOfTReturningHandler(Delegate @deleg
5454
5454
// Act
5455
5455
var factoryResult = RequestDelegateFactory . Create ( @delegate , new RequestDelegateFactoryOptions ( )
5456
5456
{
5457
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5457
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5458
5458
{
5459
5459
( routeHandlerContext , next ) => async ( context ) =>
5460
5460
{
@@ -5519,7 +5519,7 @@ public async Task CanInvokeFilter_OnVoidReturningHandler(Delegate @delegate)
5519
5519
// Act
5520
5520
var factoryResult = RequestDelegateFactory . Create ( @delegate , new RequestDelegateFactoryOptions ( )
5521
5521
{
5522
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5522
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5523
5523
{
5524
5524
( routeHandlerContext , next ) => async ( context ) =>
5525
5525
{
@@ -5553,7 +5553,7 @@ async Task HandlerWithTaskAwait(HttpContext c)
5553
5553
// Act
5554
5554
var factoryResult = RequestDelegateFactory . Create ( HandlerWithTaskAwait , new RequestDelegateFactoryOptions ( )
5555
5555
{
5556
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5556
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5557
5557
{
5558
5558
( routeHandlerContext , next ) => async ( context ) =>
5559
5559
{
@@ -5620,7 +5620,7 @@ public async Task CanInvokeFilter_OnHandlerReturningTasksOfStruct(Delegate @dele
5620
5620
// Act
5621
5621
var factoryResult = RequestDelegateFactory . Create ( @delegate , new RequestDelegateFactoryOptions ( )
5622
5622
{
5623
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5623
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5624
5624
{
5625
5625
( routeHandlerContext , next ) => async ( context ) =>
5626
5626
{
@@ -5656,7 +5656,7 @@ string HelloName(int? one, string? two, int? three, string? four, int? five, boo
5656
5656
// Act
5657
5657
var factoryResult = RequestDelegateFactory . Create ( HelloName , new RequestDelegateFactoryOptions ( )
5658
5658
{
5659
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5659
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5660
5660
{
5661
5661
( routeHandlerContext , next ) => async ( context ) =>
5662
5662
{
@@ -5687,7 +5687,7 @@ string HelloName()
5687
5687
// Act
5688
5688
var factoryResult = RequestDelegateFactory . Create ( HelloName , new RequestDelegateFactoryOptions ( )
5689
5689
{
5690
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5690
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
5691
5691
{
5692
5692
( routeHandlerContext , next ) => async ( context ) =>
5693
5693
{
@@ -6081,7 +6081,7 @@ public void Create_ReturnsSameRequestDelegatePassedIn_IfNotModifiedByFilters()
6081
6081
6082
6082
RequestDelegateFactoryOptions options = new ( )
6083
6083
{
6084
- EndpointFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
6084
+ RouteHandlerFilterFactories = new List < Func < EndpointFilterFactoryContext , EndpointFilterDelegate , EndpointFilterDelegate > > ( )
6085
6085
{
6086
6086
( routeHandlerContext , next ) =>
6087
6087
{
0 commit comments