src\runtime\artifacts\obj\System.ComponentModel.Annotations\Release\net11.0\System.SR.cs (62)
16internal static string @AllowedValuesAttribute_Invalid => GetResourceString("AllowedValuesAttribute_Invalid", @"The {0} field does not equal any of the values specified in AllowedValuesAttribute.");
18internal static string @AssociatedMetadataTypeTypeDescriptor_MetadataTypeContainsUnknownProperties => GetResourceString("AssociatedMetadataTypeTypeDescriptor_MetadataTypeContainsUnknownProperties", @"The associated metadata type for type '{0}' contains the following unknown properties or fields: {1}. Please make sure that the names of these members match the names of the properties on the main type.");
20internal static string @AttributeStore_Unknown_Property => GetResourceString("AttributeStore_Unknown_Property", @"The type '{0}' does not contain a public property named '{1}'.");
22internal static string @Base64StringAttribute_Invalid => GetResourceString("Base64StringAttribute_Invalid", @"The {0} field is not a valid Base64 encoding.");
24internal static string @Common_PropertyNotFound => GetResourceString("Common_PropertyNotFound", @"The property {0}.{1} could not be found.");
26internal static string @CompareAttribute_MustMatch => GetResourceString("CompareAttribute_MustMatch", @"'{0}' and '{1}' do not match.");
28internal static string @CompareAttribute_UnknownProperty => GetResourceString("CompareAttribute_UnknownProperty", @"Could not find a property named {0}.");
30internal static string @CreditCardAttribute_Invalid => GetResourceString("CreditCardAttribute_Invalid", @"The {0} field is not a valid credit card number.");
32internal static string @CustomValidationAttribute_Method_Must_Return_ValidationResult => GetResourceString("CustomValidationAttribute_Method_Must_Return_ValidationResult", @"The CustomValidationAttribute method '{0}' in type '{1}' must return System.ComponentModel.DataAnnotations.ValidationResult. Use System.ComponentModel.DataAnnotations.ValidationResult.Success to represent success.");
34internal static string @CustomValidationAttribute_Method_Not_Found => GetResourceString("CustomValidationAttribute_Method_Not_Found", @"The CustomValidationAttribute method '{0}' does not exist in type '{1}' or is not public and static.");
36internal static string @CustomValidationAttribute_Method_Required => GetResourceString("CustomValidationAttribute_Method_Required", @"The CustomValidationAttribute.Method was not specified.");
38internal static string @CustomValidationAttribute_Method_Signature => GetResourceString("CustomValidationAttribute_Method_Signature", @"The CustomValidationAttribute method '{0}' in type '{1}' must match the expected signature: public static ValidationResult {0}(object value, ValidationContext context). The value can be strongly typed. The ValidationContext parameter is optional.");
40internal static string @CustomValidationAttribute_Type_Conversion_Failed => GetResourceString("CustomValidationAttribute_Type_Conversion_Failed", @"Could not convert the value of type '{0}' to '{1}' as expected by method {2}.{3}.");
42internal static string @CustomValidationAttribute_Type_Must_Be_Public => GetResourceString("CustomValidationAttribute_Type_Must_Be_Public", @"The custom validation type '{0}' must be public.");
44internal static string @CustomValidationAttribute_ValidationError => GetResourceString("CustomValidationAttribute_ValidationError", @"{0} is not valid.");
46internal static string @CustomValidationAttribute_ValidatorType_Required => GetResourceString("CustomValidationAttribute_ValidatorType_Required", @"The CustomValidationAttribute.ValidatorType was not specified.");
48internal static string @DataTypeAttribute_EmptyDataTypeString => GetResourceString("DataTypeAttribute_EmptyDataTypeString", @"The custom DataType string cannot be null or empty.");
50internal static string @DeniedValuesAttribute_Invalid => GetResourceString("DeniedValuesAttribute_Invalid", @"The {0} field equals one of the values specified in DeniedValuesAttribute.");
52internal static string @DisplayAttribute_PropertyNotSet => GetResourceString("DisplayAttribute_PropertyNotSet", @"The {0} property has not been set. Use the {1} method to get the value.");
54internal static string @EmailAddressAttribute_Invalid => GetResourceString("EmailAddressAttribute_Invalid", @"The {0} field is not a valid e-mail address.");
56internal static string @EnumDataTypeAttribute_TypeCannotBeNull => GetResourceString("EnumDataTypeAttribute_TypeCannotBeNull", @"The type provided for EnumDataTypeAttribute cannot be null.");
58internal static string @EnumDataTypeAttribute_TypeNeedsToBeAnEnum => GetResourceString("EnumDataTypeAttribute_TypeNeedsToBeAnEnum", @"The type '{0}' needs to represent an enumeration type.");
60internal static string @FileExtensionsAttribute_Invalid => GetResourceString("FileExtensionsAttribute_Invalid", @"The {0} field only accepts files with the following extensions: {1}");
62internal static string @LocalizableString_LocalizationFailed => GetResourceString("LocalizableString_LocalizationFailed", @"Cannot retrieve property '{0}' because localization failed. Type '{1}' is not public or does not contain a public static string property with the name '{2}'.");
64internal static string @MaxLengthAttribute_InvalidMaxLength => GetResourceString("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.");
66internal static string @MaxLengthAttribute_ValidationError => GetResourceString("MaxLengthAttribute_ValidationError", @"The field {0} must be a string or array type with a maximum length of '{1}'.");
68internal static string @MetadataTypeAttribute_TypeCannotBeNull => GetResourceString("MetadataTypeAttribute_TypeCannotBeNull", @"MetadataClassType cannot be null.");
70internal static string @MinLengthAttribute_InvalidMinLength => GetResourceString("MinLengthAttribute_InvalidMinLength", @"MinLengthAttribute must have a Length value that is zero or greater.");
72internal static string @MinLengthAttribute_ValidationError => GetResourceString("MinLengthAttribute_ValidationError", @"The field {0} must be a string or array type with a minimum length of '{1}'.");
74internal static string @LengthAttribute_InvalidMinLength => GetResourceString("LengthAttribute_InvalidMinLength", @"LengthAttribute must have a MinimumLength value that is zero or greater.");
76internal static string @LengthAttribute_InvalidMaxLength => GetResourceString("LengthAttribute_InvalidMaxLength", @"LengthAttribute must have a MaximumLength value that is greater than or equal to MinimumLength.");
78internal static string @LengthAttribute_ValidationError => GetResourceString("LengthAttribute_ValidationError", @"The field {0} must be a string or collection type with a minimum length of '{1}' and maximum length of '{2}'.");
80internal static string @LengthAttribute_InvalidValueType => GetResourceString("LengthAttribute_InvalidValueType", @"The field of type {0} must be a string, array or ICollection type.");
82internal static string @PhoneAttribute_Invalid => GetResourceString("PhoneAttribute_Invalid", @"The {0} field is not a valid phone number.");
84internal static string @RangeAttribute_ArbitraryTypeNotIComparable => GetResourceString("RangeAttribute_ArbitraryTypeNotIComparable", @"The type {0} must implement {1}.");
86internal static string @RangeAttribute_MinGreaterThanMax => GetResourceString("RangeAttribute_MinGreaterThanMax", @"The maximum value '{0}' must be greater than or equal to the minimum value '{1}'.");
88internal static string @RangeAttribute_CannotUseExclusiveBoundsWhenTheyAreEqual => GetResourceString("RangeAttribute_CannotUseExclusiveBoundsWhenTheyAreEqual", @"Cannot use exclusive bounds when the maximum value is equal to the minimum value.");
90internal static string @RangeAttribute_Must_Set_Min_And_Max => GetResourceString("RangeAttribute_Must_Set_Min_And_Max", @"The minimum and maximum values must be set.");
92internal static string @RangeAttribute_Must_Set_Operand_Type => GetResourceString("RangeAttribute_Must_Set_Operand_Type", @"The OperandType must be set when strings are used for minimum and maximum values.");
94internal static string @RangeAttribute_ValidationError => GetResourceString("RangeAttribute_ValidationError", @"The field {0} must be between {1} and {2}.");
96internal static string @RangeAttribute_ValidationError_MinExclusive => GetResourceString("RangeAttribute_ValidationError_MinExclusive", @"The field {0} must be between {1} exclusive and {2}.");
98internal static string @RangeAttribute_ValidationError_MaxExclusive => GetResourceString("RangeAttribute_ValidationError_MaxExclusive", @"The field {0} must be between {1} and {2} exclusive.");
100internal static string @RangeAttribute_ValidationError_MinExclusive_MaxExclusive => GetResourceString("RangeAttribute_ValidationError_MinExclusive_MaxExclusive", @"The field {0} must be between {1} exclusive and {2} exclusive.");
102internal static string @RegexAttribute_ValidationError => GetResourceString("RegexAttribute_ValidationError", @"The field {0} must match the regular expression '{1}'.");
104internal static string @RegularExpressionAttribute_Empty_Pattern => GetResourceString("RegularExpressionAttribute_Empty_Pattern", @"The pattern must be set to a valid regular expression.");
106internal static string @RequiredAttribute_ValidationError => GetResourceString("RequiredAttribute_ValidationError", @"The {0} field is required.");
108internal static string @StringLengthAttribute_InvalidMaxLength => GetResourceString("StringLengthAttribute_InvalidMaxLength", @"The maximum length must be a nonnegative integer.");
110internal static string @StringLengthAttribute_ValidationError => GetResourceString("StringLengthAttribute_ValidationError", @"The field {0} must be a string with a maximum length of {1}.");
112internal static string @StringLengthAttribute_ValidationErrorIncludingMinimum => GetResourceString("StringLengthAttribute_ValidationErrorIncludingMinimum", @"The field {0} must be a string with a minimum length of {2} and a maximum length of {1}.");
114internal static string @UIHintImplementation_ControlParameterKeyIsNotAString => GetResourceString("UIHintImplementation_ControlParameterKeyIsNotAString", @"The key parameter at position {0} with value '{1}' is not a string. Every key control parameter must be a string.");
116internal static string @UIHintImplementation_ControlParameterKeyIsNull => GetResourceString("UIHintImplementation_ControlParameterKeyIsNull", @"The key parameter at position {0} is null. Every key control parameter must be a string.");
118internal static string @UIHintImplementation_ControlParameterKeyOccursMoreThanOnce => GetResourceString("UIHintImplementation_ControlParameterKeyOccursMoreThanOnce", @"The key parameter at position {0} with value '{1}' occurs more than once.");
120internal static string @UIHintImplementation_NeedEvenNumberOfControlParameters => GetResourceString("UIHintImplementation_NeedEvenNumberOfControlParameters", @"The number of control parameters must be even.");
122internal static string @UrlAttribute_Invalid => GetResourceString("UrlAttribute_Invalid", @"The {0} field is not a valid fully-qualified http, https, or ftp URL.");
124internal static string @ValidationAttribute_Cannot_Set_ErrorMessage_And_Resource => GetResourceString("ValidationAttribute_Cannot_Set_ErrorMessage_And_Resource", @"Either ErrorMessageString or ErrorMessageResourceName must be set, but not both.");
126internal static string @ValidationAttribute_IsValid_NotImplemented => GetResourceString("ValidationAttribute_IsValid_NotImplemented", @"IsValid(object value) has not been implemented by this class. The preferred entry point is GetValidationResult() and classes should override IsValid(object value, ValidationContext context).");
128internal static string @ValidationAttribute_NeedBothResourceTypeAndResourceName => GetResourceString("ValidationAttribute_NeedBothResourceTypeAndResourceName", @"Both ErrorMessageResourceType and ErrorMessageResourceName need to be set on this attribute.");
130internal static string @ValidationAttribute_ResourcePropertyNotStringType => GetResourceString("ValidationAttribute_ResourcePropertyNotStringType", @"The property '{0}' on resource type '{1}' is not a string type.");
132internal static string @ValidationAttribute_ResourceTypeDoesNotHaveProperty => GetResourceString("ValidationAttribute_ResourceTypeDoesNotHaveProperty", @"The resource type '{0}' does not have an accessible static property named '{1}'.");
134internal static string @ValidationAttribute_ValidationError => GetResourceString("ValidationAttribute_ValidationError", @"The field {0} is invalid.");
136internal static string @Validator_InstanceMustMatchValidationContextInstance => GetResourceString("Validator_InstanceMustMatchValidationContextInstance", @"The instance provided must match the ObjectInstance on the ValidationContext supplied.");
138internal static string @Validator_Property_Value_Wrong_Type => GetResourceString("Validator_Property_Value_Wrong_Type", @"The value for property '{0}' must be of type '{1}'.");