18 lines
1.2 KiB
C#
18 lines
1.2 KiB
C#
|
//
|
||
|
// This file was generated by txt2sr tool
|
||
|
//
|
||
|
|
||
|
namespace System.ComponentModel.DataAnnotations.Resources
|
||
|
{
|
||
|
partial class DataAnnotationsResources
|
||
|
{
|
||
|
public const string MaxLengthAttribute_ValidationError = "The field {0} must be a string or array type with a maximum length of '{1}'.";
|
||
|
public const string MaxLengthAttribute_InvalidMaxLength = "MaxLengthAttribute must have a Length value that is greater than zero. Use MaxLength() without parameters to indicate that the string or array can have the maximum allowable length.";
|
||
|
public const string MinLengthAttribute_ValidationError = "The field {0} must be a string or array type with a minimum length of '{1}'.";
|
||
|
public const string MinLengthAttribute_InvalidMinLength = "MinLengthAttribute must have a Length value that is zero or greater.";
|
||
|
public const string ArgumentIsNullOrWhitespace = "The argument '{0}' cannot be null, empty or contain only white space.";
|
||
|
public const string RequiredAttribute_ValidationError = "The {0} field is required.";
|
||
|
public const string CompareAttribute_MustMatch = "'{0}' and '{1}' do not match.";
|
||
|
public const string RegexAttribute_ValidationError = "The field {0} must match the regular expression '{1}'.";
|
||
|
}
|
||
|
}
|