2 instantiations of CompositeRouteConstraint
Microsoft.AspNetCore.Routing (1)
RouteConstraintBuilder.cs (1)
64
constraint = new
CompositeRouteConstraint
(kvp.Value.ToArray());
Microsoft.AspNetCore.Routing.Tests (1)
Constraints\CompositeRouteConstraintTests.cs (1)
28
var constraint = new
CompositeRouteConstraint
(new[] { inner1.Object, inner2.Object });
10 references to CompositeRouteConstraint
Microsoft.AspNetCore.Routing (1)
Constraints\CompositeRouteConstraint.cs (1)
22
/// Initializes a new instance of the <see cref="
CompositeRouteConstraint
" /> class.
Microsoft.AspNetCore.Routing.Tests (9)
Constraints\CompositeRouteConstraintTests.cs (1)
28
var
constraint = new CompositeRouteConstraint(new[] { inner1.Object, inner2.Object });
RouteConstraintBuilderTest.cs (2)
142
var
compositeConstraint = Assert.IsType<
CompositeRouteConstraint
>(optionalConstraint.InnerConstraint);
RouteTest.cs (6)
322
Assert.IsType<
CompositeRouteConstraint
>(innerConstraint);
323
var
compositeConstraint = (
CompositeRouteConstraint
)innerConstraint;
1662
var
constraint = (
CompositeRouteConstraint
)constraints["id"];
1663
Assert.IsType<
CompositeRouteConstraint
>(constraint);