4 writes to Maximum
System.ComponentModel.Annotations (4)
System\ComponentModel\DataAnnotations\RangeAttribute.cs (4)
25Maximum = maximum; 39Maximum = maximum; 60Maximum = maximum; 121Maximum = maximum;
15 references to Maximum
Microsoft.AspNetCore.Components.Endpoints (1)
Forms\DataAnnotationsClientValidationProvider.cs (1)
159writer.Param("max"u8, Convert.ToString(ra.Maximum, CultureInfo.InvariantCulture)!);
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
RangeAttributeAdapter.cs (2)
26_max = Convert.ToString(Attribute.Maximum, CultureInfo.InvariantCulture)!; 49Attribute.Maximum);
Microsoft.AspNetCore.OpenApi (2)
Extensions\JsonNodeSchemaExtensions.cs (2)
101maxDecimal = (int)rangeAttribute.Maximum; 111var maxString = Convert.ToString(rangeAttribute.Maximum, targetCulture);
Microsoft.Extensions.AI.Abstractions (3)
Utilities\AIJsonUtilities.Schema.Create.cs (3)
501case int minInt32 when rangeAttribute.Maximum is int maxInt32: 514case double minDouble when rangeAttribute.Maximum is double maxDouble: 527case string minString when rangeAttribute.Maximum is string maxString:
System.ComponentModel.Annotations (7)
System\ComponentModel\DataAnnotations\RangeAttribute.cs (7)
80/// Specifies whether validation should fail for values that are equal to <see cref="Maximum"/>. 85/// Gets the type of the <see cref="Minimum" /> and <see cref="Maximum" /> values (e.g. Int32, Double, or some custom 92/// Determines whether string values for <see cref="Minimum"/> and <see cref="Maximum"/> are parsed in the invariant 166var max = (IComparable)Maximum; 191/// and <c>{2}</c> is replaced with <see cref="Maximum" />. 198return string.Format(CultureInfo.CurrentCulture, format, name, Minimum, Maximum); 211object maximum = Maximum;