Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Contracts Namespace / Contract­Localized­Text­Provider Class / Contract­Localized­Text­Provider Fields / Contract­Localized­Text­Provider.​Required­Error­Message Field

ContractLocalizedTextProvider.RequiredErrorMessage Field

Identifier of the error message shown when RequiredAttribute constraint is violated.

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

Field Value

Type: String
See Also