46 references to EmptyRequestDelegate
Microsoft.AspNetCore.Routing.Tests (46)
Builder\EndpointRoutingApplicationBuilderExtensionsTest.cs (1)
80TestConstants.EmptyRequestDelegate,
Builder\GroupTest.cs (1)
376TestConstants.EmptyRequestDelegate,
Builder\RoutingEndpointConventionBuilderExtensionsTest.cs (1)
243TestConstants.EmptyRequestDelegate,
CompositeEndpointDataSourceTest.cs (1)
501TestConstants.EmptyRequestDelegate,
DefaultEndpointDataSourceTests.cs (8)
15new Endpoint(TestConstants.EmptyRequestDelegate, EndpointMetadataCollection.Empty, "1"), 16new Endpoint(TestConstants.EmptyRequestDelegate, EndpointMetadataCollection.Empty, "2") 29var endpoint1 = new Endpoint(TestConstants.EmptyRequestDelegate, EndpointMetadataCollection.Empty, "1"); 30var endpoint2 = new Endpoint(TestConstants.EmptyRequestDelegate, EndpointMetadataCollection.Empty, "2"); 59new Endpoint(TestConstants.EmptyRequestDelegate, EndpointMetadataCollection.Empty, "1"), 60new Endpoint(TestConstants.EmptyRequestDelegate, EndpointMetadataCollection.Empty, "2") 73var endpoint1 = new Endpoint(TestConstants.EmptyRequestDelegate, EndpointMetadataCollection.Empty, "1"); 74var endpoint2 = new Endpoint(TestConstants.EmptyRequestDelegate, EndpointMetadataCollection.Empty, "2");
EndpointFactory.cs (1)
32TestConstants.EmptyRequestDelegate,
MatcherPolicyTest.cs (1)
63TestConstants.EmptyRequestDelegate,
Matching\CandidateSetTest.cs (1)
372var builder = new RouteEndpointBuilder(TestConstants.EmptyRequestDelegate, RoutePatternFactory.Parse(template), order);
Matching\DataSourceDependentMatcherTest.cs (12)
38TestConstants.EmptyRequestDelegate, 63TestConstants.EmptyRequestDelegate, 85var endpoint = new Endpoint(TestConstants.EmptyRequestDelegate, EndpointMetadataCollection.Empty, "test"); 103TestConstants.EmptyRequestDelegate, 125TestConstants.EmptyRequestDelegate, 148TestConstants.EmptyRequestDelegate, 155TestConstants.EmptyRequestDelegate, 176TestConstants.EmptyRequestDelegate, 183TestConstants.EmptyRequestDelegate, 191TestConstants.EmptyRequestDelegate, 214TestConstants.EmptyRequestDelegate, 227TestConstants.EmptyRequestDelegate,
Matching\DefaultEndpointSelectorTest.cs (1)
178TestConstants.EmptyRequestDelegate,
Matching\DfaMatcherBuilderTest.cs (1)
3676var maxValueEndpoint = new Endpoint(TestConstants.EmptyRequestDelegate, EndpointMetadataCollection.Empty, "MaxValueEndpoint");
Matching\EndpointComparerTest.cs (1)
245TestConstants.EmptyRequestDelegate,
Matching\EndpointMetadataComparerTest.cs (10)
14var endpoint1 = new Endpoint(TestConstants.EmptyRequestDelegate, new EndpointMetadataCollection(new object[] { new TestMetadata(), }), "test1"); 15var endpoint2 = new Endpoint(TestConstants.EmptyRequestDelegate, new EndpointMetadataCollection(new object[] { }), "test2"); 28var endpoint1 = new Endpoint(TestConstants.EmptyRequestDelegate, new EndpointMetadataCollection(new object[] { }), "test1"); 29var endpoint2 = new Endpoint(TestConstants.EmptyRequestDelegate, new EndpointMetadataCollection(new object[] { new TestMetadata(), }), "test2"); 42var endpoint1 = new Endpoint(TestConstants.EmptyRequestDelegate, new EndpointMetadataCollection(new object[] { new TestMetadata(), }), "test1"); 43var endpoint2 = new Endpoint(TestConstants.EmptyRequestDelegate, new EndpointMetadataCollection(new object[] { new TestMetadata(), }), "test2"); 56var endpoint1 = new Endpoint(TestConstants.EmptyRequestDelegate, new EndpointMetadataCollection(new object[] { }), "test1"); 57var endpoint2 = new Endpoint(TestConstants.EmptyRequestDelegate, new EndpointMetadataCollection(new object[] { }), "test2"); 70var endpoint1 = new Endpoint(TestConstants.EmptyRequestDelegate, new EndpointMetadataCollection(new object[] { new TestMetadata(), }), "test1"); 71var endpoint2 = new Endpoint(TestConstants.EmptyRequestDelegate, new EndpointMetadataCollection(new object[] { }), "test2");
Matching\HostMatcherPolicyIntegrationTestBase.cs (1)
420TestConstants.EmptyRequestDelegate,
Matching\HttpMethodMatcherPolicyIntegrationTestBase.cs (1)
402TestConstants.EmptyRequestDelegate,
Matching\HttpMethodMatcherPolicyTest.cs (1)
402TestConstants.EmptyRequestDelegate,
Matching\MatcherConformanceTest.cs (1)
38TestConstants.EmptyRequestDelegate,
RouteValuesAddressSchemeTest.cs (1)
444TestConstants.EmptyRequestDelegate,
TestObjects\TestMatcher.cs (1)
21c.SetEndpoint(new Endpoint(TestConstants.EmptyRequestDelegate, EndpointMetadataCollection.Empty, "Test endpoint"));