12 references to TypedUrlValueConstraint
Microsoft.AspNetCore.Components (12)
Routing\UrlValueConstraint.cs (12)
67var x when x == typeof(string) => new TypedUrlValueConstraint<string>(TryParse), 68var x when x == typeof(bool) => new TypedUrlValueConstraint<bool>(bool.TryParse), 70var x when x == typeof(DateTime) => new TypedUrlValueConstraint<DateTime>(TryParse), 72var x when x == typeof(DateOnly) => new TypedUrlValueConstraint<DateOnly>(TryParse), 74var x when x == typeof(TimeOnly) => new TypedUrlValueConstraint<TimeOnly>(TryParse), 76var x when x == typeof(decimal) => new TypedUrlValueConstraint<decimal>(TryParse), 78var x when x == typeof(double) => new TypedUrlValueConstraint<double>(TryParse), 80var x when x == typeof(float) => new TypedUrlValueConstraint<float>(TryParse), 82var x when x == typeof(Guid) => new TypedUrlValueConstraint<Guid>(Guid.TryParse), 84var x when x == typeof(int) => new TypedUrlValueConstraint<int>(TryParse), 86var x when x == typeof(long) => new TypedUrlValueConstraint<long>(TryParse), 155: base(SupportNullable(parser))