1 type derived from UrlValueConstraint
Microsoft.AspNetCore.Components (1)
src\aspnetcore\src\Components\Shared\src\UrlValueConstraint.cs (1)
97
private class TypedUrlValueConstraint<T> :
UrlValueConstraint
5 references to UrlValueConstraint
Microsoft.AspNetCore.Components (5)
src\aspnetcore\src\Components\Shared\src\QueryParameterValueSupplier.cs (2)
36
if (!
UrlValueConstraint
.TryGetByTargetType(elementType, out
var
parser))
src\aspnetcore\src\Components\Shared\src\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