4 references to MaxLengthAttribute
System.ComponentModel.DataAnnotations (2)
DataAnnotations\MaxLengthAttribute.cs (2)
20
/// Initializes a new instance of the <see cref="
MaxLengthAttribute
"/> class.
32
/// Initializes a new instance of the <see cref="
MaxLengthAttribute
"/> class.
System.Web (2)
ModelBinding\DataAnnotationsModelValidatorProvider.cs (2)
58
typeof(
MaxLengthAttribute
),
59
(metadata, context, attribute) => new MaxLengthAttributeAdapter(metadata, context, (
MaxLengthAttribute
)attribute)