System.ComponentModel.DataAnnotations.MinLengthAttribute
Specifies the minimum length of array or string data allowed in a property.
namespace System.ComponentModel.DataAnnotations
{
public class MinLengthAttribute : ValidationAttribute
{
public int Length { get; }
public MinLengthAttribute(int length);
}
}