19 implementations of MatchesLiteral
Microsoft.AspNetCore.Routing (19)
Constraints\BoolRouteConstraint.cs (1)
59
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
Constraints\CompositeRouteConstraint.cs (1)
69
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
Constraints\DateTimeRouteConstraint.cs (1)
65
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
Constraints\DecimalRouteConstraint.cs (1)
59
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
Constraints\DoubleRouteConstraint.cs (1)
63
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
Constraints\FileNameRouteConstraint.cs (1)
155
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
Constraints\FloatRouteConstraint.cs (1)
63
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
Constraints\GuidRouteConstraint.cs (1)
61
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
Constraints\IntRouteConstraint.cs (1)
59
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
Constraints\LengthRouteConstraint.cs (1)
111
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
Constraints\LongRouteConstraint.cs (1)
59
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
Constraints\MaxLengthRouteConstraint.cs (1)
74
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
Constraints\MaxRouteConstraint.cs (1)
74
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
Constraints\MinLengthRouteConstraint.cs (1)
74
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
Constraints\MinRouteConstraint.cs (1)
72
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
Constraints\NonFileNameRouteConstraint.cs (1)
121
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
Constraints\RangeRouteConstraint.cs (1)
86
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
Constraints\RegexRouteConstraint.cs (1)
106
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
Constraints\StringRouteConstraint.cs (1)
49
bool IParameterLiteralNodeMatchingPolicy.
MatchesLiteral
(string parameterName, string literal)
3 references to MatchesLiteral
Microsoft.AspNetCore.Routing (3)
Constraints\CompositeRouteConstraint.cs (1)
73
if (constraint is IParameterLiteralNodeMatchingPolicy literalConstraint && !literalConstraint.
MatchesLiteral
(parameterName, literal))
Matching\DfaMatcherBuilder.cs (2)
406
if (parameterPolicy is IParameterLiteralNodeMatchingPolicy constraint && !constraint.
MatchesLiteral
(partParameter.Name, (string)parameterValue))
443
if (!hasFailingPolicy[literalIndex] && !constraint.
MatchesLiteral
(parameterPart.Name, literal))