2 references to SetParameterPolicy
Microsoft.AspNetCore.Routing.Tests (2)
DefaultInlineConstraintResolverTest.cs (2)
275
routeOptions.
SetParameterPolicy
("custom", typeof(CustomRouteConstraint));
290
var ex = Assert.Throws<InvalidOperationException>(() => routeOptions.
SetParameterPolicy
("custom", typeof(string)));