PostSharpAPI ReferencePost­Sharp.​Patterns.​ContractsContract­Localized­Text­ProviderString­Length­Max­Error­Message
Open sandboxFocus

ContractLocalizedTextProvider.StringLengthMaxErrorMessage Field

Identifier of the error message shown when StringLengthAttribute constraint is violated (only maximum length was specified).

Namespace: PostSharp.Patterns.Contracts
Assembly: PostSharp.Patterns.Common.dll
Syntax
public const string StringLengthMaxErrorMessage = "StringLengthMaxErrorMessage"
Returns
Type Description
System.String