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