4 writes to Minimum
System.ComponentModel.Annotations (4)
System\ComponentModel\DataAnnotations\RangeAttribute.cs (4)
24
Minimum
= minimum;
38
Minimum
= minimum;
59
Minimum
= minimum;
120
Minimum
= minimum;
14 references to Minimum
Microsoft.AspNetCore.Mvc.Core.Test (4)
ModelBinding\Metadata\ModelAttributesTest.cs (4)
42
Assert.Equal(0, (int)rangeAttributes[0].
Minimum
);
45
Assert.Equal(10, (int)rangeAttributes[1].
Minimum
);
51
Assert.Equal(0, (int)rangeAttributes[0].
Minimum
);
54
Assert.Equal(10, (int)rangeAttributes[1].
Minimum
);
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
RangeAttributeAdapter.cs (2)
27
_min = Convert.ToString(Attribute.
Minimum
, CultureInfo.InvariantCulture)!;
48
Attribute.
Minimum
,
Microsoft.AspNetCore.OpenApi (2)
Extensions\JsonNodeSchemaExtensions.cs (2)
96
var targetCulture = rangeAttribute.ParseLimitsInInvariantCulture || rangeAttribute.
Minimum
is double || rangeAttribute.Maximum is int
100
var minString = rangeAttribute.
Minimum
.ToString();
System.ComponentModel.Annotations (6)
System\ComponentModel\DataAnnotations\RangeAttribute.cs (6)
75
/// Specifies whether validation should fail for values that are equal to <see cref="
Minimum
"/>.
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
161
var min = (IComparable)
Minimum
;
179
return string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name,
Minimum
, Maximum);
191
object minimum =
Minimum
;