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