PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​ContractsContract­Localized­Text­ProviderString­Length­Range­Error­Message
Open sandboxFocus

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.dll
Syntax
public const string StringLengthRangeErrorMessage = "StringLengthRangeErrorMessage"
Returns
Type Description
String