1 type derived from TypedUrlValueConstraint
Microsoft.AspNetCore.Components (1)
src\aspnetcore\src\Components\Shared\src\UrlValueConstraint.cs (1)
152
private sealed class NullableTypedUrlValueConstraint<T> :
TypedUrlValueConstraint
<T?> where T : struct
11 instantiations of TypedUrlValueConstraint
Microsoft.AspNetCore.Components (11)
src\aspnetcore\src\Components\Shared\src\UrlValueConstraint.cs (11)
67
var x when x == typeof(string) => new
TypedUrlValueConstraint
<string>(TryParse),
68
var x when x == typeof(bool) => new
TypedUrlValueConstraint
<bool>(bool.TryParse),
70
var x when x == typeof(DateTime) => new
TypedUrlValueConstraint
<DateTime>(TryParse),
72
var x when x == typeof(DateOnly) => new
TypedUrlValueConstraint
<DateOnly>(TryParse),
74
var x when x == typeof(TimeOnly) => new
TypedUrlValueConstraint
<TimeOnly>(TryParse),
76
var x when x == typeof(decimal) => new
TypedUrlValueConstraint
<decimal>(TryParse),
78
var x when x == typeof(double) => new
TypedUrlValueConstraint
<double>(TryParse),
80
var x when x == typeof(float) => new
TypedUrlValueConstraint
<float>(TryParse),
82
var x when x == typeof(Guid) => new
TypedUrlValueConstraint
<Guid>(Guid.TryParse),
84
var x when x == typeof(int) => new
TypedUrlValueConstraint
<int>(TryParse),
86
var x when x == typeof(long) => new
TypedUrlValueConstraint
<long>(TryParse),