PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Contracts Namespace / Contract­Localized­Text­Provider Class / Contract­Localized­Text­Provider Fields
ContractLocalizedTextProvider Fields

The ContractLocalizedTextProvider type exposes the following members.

Fields
  Name Description
Public field Static member CreditCardErrorMessage
Identifier of the error message shown when CreditCardAttribute constraint is violated.
Public field Static member EmailAddressErrorMessage
Identifier of the error message shown when EmailAddressAttribute constraint is violated.
Public field Static member EnumDataTypeErrorMessage
Identifier of the error message shown when EnumDataTypeAttribute constraint is violated.
Public field Static member GreaterThanErrorMessage
Identifier of the error message shown when GreaterThanAttribute constraint is violated.
Public field Static member LessThanErrorMessage
Identifier of the error message shown when LessThanAttribute constraint is violated.
Public field Static member LocationContractErrorMessage
Identifier of the error message shown when LocationContractAttribute constraint is violated.
Public field Static member NotEmptyErrorMessage
Identifier of the error message shown when NotEmptyAttribute constraint is violated.
Public field Static member NotNullErrorMessage
Identifier of the error message shown when NotNullAttribute constraint is violated.
Public field Static member PhoneErrorMessage
Identifier of the error message shown when PhoneAttribute constraint is violated.
Public field Static member RangeErrorMessage
Identifier of the error message shown when RangeAttribute constraint is violated.
Public field Static member RegularExpressionErrorMessage
Identifier of the error message shown when RegularExpressionAttribute constraint is violated.
Public field Static member RequiredErrorMessage
Identifier of the error message shown when RequiredAttribute constraint is violated.
Public field Static member StrictlyGreaterThanErrorMessage
Identifier of the error message shown when StrictlyGreaterThanAttribute constraint is violated.
Public field Static member StrictlyLessThanErrorMessage
Identifier of the error message shown when StrictlyLessThanAttribute constraint is violated.
Public field Static member StringLengthMaxErrorMessage
Identifier of the error message shown when StringLengthAttribute constraint is violated (only maximum length was specified).
Public field Static member StringLengthMinErrorMessage
Identifier of the error message shown when StringLengthAttribute constraint is violated (only minimum length was specified).
Public field Static member StringLengthRangeErrorMessage
Identifier of the error message shown when StringLengthAttribute constraint is violated (both minimum and maximum was specified).
Public field Static member UrlErrorMessage
Identifier of the error message shown when UrlAttribute constraint is violated.
See Also