3 instantiations of FileNameRouteConstraint
Microsoft.AspNetCore.Routing.Tests (3)
Constraints\FileNameRouteConstraintTest.cs (3)
32
var constraint = new
FileNameRouteConstraint
();
70
var constraint = new
FileNameRouteConstraint
();
86
var constraint = new
FileNameRouteConstraint
();
8 references to FileNameRouteConstraint
Microsoft.AspNetCore.Routing (5)
Constraints\FileNameRouteConstraint.cs (2)
35
/// The <see cref="
FileNameRouteConstraint
"/> does not attempt to validate that the value contains
39
/// The <see cref="
FileNameRouteConstraint
"/> does not attempt to validate that the value represents
Constraints\NonFileNameRouteConstraint.cs (2)
109
return !
FileNameRouteConstraint
.IsFileName(value);
123
return !
FileNameRouteConstraint
.IsFileName(literal);
RouteOptions.cs (1)
141
AddConstraint<
FileNameRouteConstraint
>(defaults, "file");
Microsoft.AspNetCore.Routing.Tests (3)
Constraints\FileNameRouteConstraintTest.cs (3)
32
var
constraint = new FileNameRouteConstraint();
70
var
constraint = new FileNameRouteConstraint();
86
var
constraint = new FileNameRouteConstraint();