PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Contracts Namespace/Contract­Localized­Text­Provider Class/Contract­Localized­Text­Provider Fields/Contract­Localized­Text­Provider.​String­Length­Range­Error­Message Field

ContractLocalizedTextProvider.StringLengthRangeErrorMessage Field

Identifier of the error message shown when StringLengthAttribute constraint is violated (both minimum and maximum was specified).

Namespace:  PostSharp.Patterns.Contracts
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.2.11.0 (6.2.11.0)
Syntax
C#
public const string StringLengthRangeErrorMessage = "StringLengthRangeErrorMessage"

Field Value

Type: String
See Also