2 instantiations of AlphaRouteConstraint
Microsoft.AspNetCore.Routing.Tests (2)
Constraints\AlphaRouteConstraintTests.cs (1)
22var constraint = new AlphaRouteConstraint();
Matching\DfaMatcherBuilderTest.cs (1)
3476CreateEndpoint("/a/b/c", constraints: new { a = new AlphaRouteConstraint(), }, metadata: new object[] { new TestMetadata1(), new TestMetadata2(), }),
6 references to AlphaRouteConstraint
Microsoft.AspNetCore.OpenApi (1)
Extensions\JsonNodeSchemaExtensions.cs (1)
268else if (constraint is AlphaRouteConstraint)
Microsoft.AspNetCore.Routing (2)
Constraints\AlphaRouteConstraint.cs (1)
21/// Initializes a new instance of the <see cref="AlphaRouteConstraint" /> class.
RouteOptions.cs (1)
127AddConstraint<AlphaRouteConstraint>(defaults, "alpha");
Microsoft.AspNetCore.Routing.Tests (3)
Constraints\AlphaRouteConstraintTests.cs (1)
22var constraint = new AlphaRouteConstraint();
DefaultInlineConstraintResolverTest.cs (1)
63Assert.IsType<AlphaRouteConstraint>(constraint);
RouteConstraintBuilderTest.cs (1)
146Assert.Single(compositeConstraint.Constraints, c => c is AlphaRouteConstraint);