ValueValidator Constructor
Initializes a new instance of the ValueValidator class.
Namespace: Microsoft.Practices.EnterpriseLibrary.Validation.Validators
Assembly: Microsoft.Practices.EnterpriseLibrary.Validation (in Microsoft.Practices.EnterpriseLibrary.Validation.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
protected ValueValidator(
string messageTemplate,
string tag,
bool negated
)
'Declaration
Protected Sub New (
messageTemplate As String,
tag As String,
negated As Boolean
)
protected:
ValueValidator(
String^ messageTemplate,
String^ tag,
bool negated
)
Parameters
- messageTemplate
Type: System.String
The template to use when logging validation results, or nulla null reference (Nothing in Visual Basic) we the default message template is to be used.
- tag
Type: System.String
The tag to set when logging validation results, or nulla null reference (Nothing in Visual Basic).
- negated
Type: System.Boolean
Indicates if the validation logic represented by the validator should be negated.
See Also
Microsoft.Practices.EnterpriseLibrary.Validation.Validators Namespace