13 instantiations of TestMetadata2
Microsoft.AspNetCore.Routing.Tests (13)
Matching\DfaMatcherBuilderTest.cs (13)
2633
var endpoint1 = CreateEndpoint("/a", metadata: new object[] { new TestMetadata1(0), new
TestMetadata2
(true), });
2672
var endpoint1 = CreateEndpoint("/a", metadata: new object[] { new TestMetadata1(0), new
TestMetadata2
(true), });
2675
var endpoint2 = CreateEndpoint("/a", metadata: new object[] { new TestMetadata1(1), new
TestMetadata2
(true), });
2678
var endpoint3 = CreateEndpoint("/a", metadata: new object[] { new TestMetadata1(1), new
TestMetadata2
(false), });
2736
var endpoint1 = CreateEndpoint("/a", metadata: new object[] { new
TestMetadata2
(true), });
2739
var endpoint2 = CreateEndpoint("/a", metadata: new object[] { new
TestMetadata2
(true), });
2742
var endpoint3 = CreateEndpoint("/a", metadata: new object[] { new
TestMetadata2
(false), });
2922
var endpoint1 = CreateEndpoint("/a/{**b}", order: -1, metadata: new object[] { new TestMetadata1(0), new
TestMetadata2
(true), });
2925
var endpoint2 = CreateEndpoint("/a/{b}/{**c}", order: 0, metadata: new object[] { new TestMetadata1(1), new
TestMetadata2
(true), });
2928
var endpoint3 = CreateEndpoint("/a/b/{c}", order: 1, metadata: new object[] { new TestMetadata1(1), new
TestMetadata2
(false), });
3475
CreateEndpoint("/a/b/c", constraints: new { a = new IntRouteConstraint(), }, metadata: new object[] { new TestMetadata1(), new
TestMetadata2
(), }),
3476
CreateEndpoint("/a/b/c", constraints: new { a = new AlphaRouteConstraint(), }, metadata: new object[] { new TestMetadata1(), new
TestMetadata2
(), }),
3478
CreateEndpoint("/a/b/c", constraints: new { a = new IntRouteConstraint(), }, metadata: new object[] { new
TestMetadata2
(), }),
3 references to TestMetadata2
Microsoft.AspNetCore.Routing.Tests (3)
Matching\DfaMatcherBuilderTest.cs (3)
3629
public IComparer<Endpoint> Comparer => EndpointMetadataComparer<
TestMetadata2
>.Default;
3635
return endpoints.Any(e => e.Metadata.GetMetadata<
TestMetadata2
>() != null);
3647
.GroupBy(e => e.Metadata.GetMetadata<
TestMetadata2
>().State)