1 instantiation of FloatRouteConstraint
Microsoft.AspNetCore.Routing.Tests (1)
Constraints\FloatRouteConstraintTests.cs (1)
19
var constraint = new
FloatRouteConstraint
();
5 references to FloatRouteConstraint
Microsoft.AspNetCore.OpenApi (2)
Extensions\JsonNodeSchemaExtensions.cs (2)
248
else if (constraint is
FloatRouteConstraint
or DecimalRouteConstraint or DoubleRouteConstraint)
251
schema[OpenApiSchemaKeywords.FormatKeyword] = constraint is
FloatRouteConstraint
? "float" : "double";
Microsoft.AspNetCore.Routing (1)
RouteOptions.cs (1)
112
AddConstraint<
FloatRouteConstraint
>(defaults, "float");
Microsoft.AspNetCore.Routing.Tests (2)
Constraints\FloatRouteConstraintTests.cs (1)
19
var
constraint = new FloatRouteConstraint();
DefaultInlineConstraintResolverTest.cs (1)
141
Assert.IsType<
FloatRouteConstraint
>(constraint);