2 instantiations of AlphaRouteConstraint
Microsoft.AspNetCore.Routing.Tests (2)
Constraints\AlphaRouteConstraintTests.cs (1)
22
var constraint = new
AlphaRouteConstraint
();
Matching\DfaMatcherBuilderTest.cs (1)
3476
CreateEndpoint("/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)
268
else 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)
127
AddConstraint<
AlphaRouteConstraint
>(defaults, "alpha");
Microsoft.AspNetCore.Routing.Tests (3)
Constraints\AlphaRouteConstraintTests.cs (1)
22
var
constraint = new AlphaRouteConstraint();
DefaultInlineConstraintResolverTest.cs (1)
63
Assert.IsType<
AlphaRouteConstraint
>(constraint);
RouteConstraintBuilderTest.cs (1)
146
Assert.Single(compositeConstraint.Constraints, c => c is
AlphaRouteConstraint
);