3 references to Initialize
System.ComponentModel.DataAnnotations (3)
DataAnnotations\RangeAttribute.cs (3)
155
this.
Initialize
((int)minimum, (int)maximum, v => Convert.ToInt32(v, CultureInfo.InvariantCulture));
157
this.
Initialize
((double)minimum, (double)maximum, v => Convert.ToDouble(v, CultureInfo.InvariantCulture));
185
this.
Initialize
(min, max, conversion);