1 type derived from UrlValueConstraint
Microsoft.AspNetCore.Components (1)
Routing\UrlValueConstraint.cs (1)
97
private class TypedUrlValueConstraint<T> :
UrlValueConstraint
5 references to UrlValueConstraint
Microsoft.AspNetCore.Components (5)
Routing\QueryParameterValueSupplier.cs (2)
35
if (!
UrlValueConstraint
.TryGetByTargetType(elementType, out
var
parser))
Routing\UrlValueConstraint.cs (3)
17
private static readonly ConcurrentDictionary<Type,
UrlValueConstraint
> _cachedInstances = new();
19
public static bool TryGetByTargetType(Type targetType, [MaybeNullWhen(false)] out
UrlValueConstraint
result)
65
private static
UrlValueConstraint
? Create(Type targetType) => targetType switch