10 instantiations of NullableTypedUrlValueConstraint
Microsoft.AspNetCore.Components (10)
Routing\UrlValueConstraint.cs (10)
69var x when x == typeof(bool?) => new NullableTypedUrlValueConstraint<bool>(bool.TryParse),
71var x when x == typeof(DateTime?) => new NullableTypedUrlValueConstraint<DateTime>(TryParse),
73var x when x == typeof(DateOnly?) => new NullableTypedUrlValueConstraint<DateOnly>(TryParse),
75var x when x == typeof(TimeOnly?) => new NullableTypedUrlValueConstraint<TimeOnly>(TryParse),
77var x when x == typeof(decimal?) => new NullableTypedUrlValueConstraint<decimal>(TryParse),
79var x when x == typeof(double?) => new NullableTypedUrlValueConstraint<double>(TryParse),
81var x when x == typeof(float?) => new NullableTypedUrlValueConstraint<float>(TryParse),
83var x when x == typeof(Guid?) => new NullableTypedUrlValueConstraint<Guid>(Guid.TryParse),
85var x when x == typeof(int?) => new NullableTypedUrlValueConstraint<int>(TryParse),
87var x when x == typeof(long?) => new NullableTypedUrlValueConstraint<long>(TryParse),