Click or drag to resize

ErrorMessage Constructor

Initializes a new instance of the ErrorMessage class with an error message.

Namespace:  Xploration.Validation
Assembly:  Xploration.Validation (in Xploration.Validation.dll) Version: 1.0.0-alpha1
Syntax
public ErrorMessage(
	string message,
	IValidator validator
)

Parameters

message
Type: SystemString
The error message.
validator
Type: Xploration.ValidationIValidator
The validator to get the error message for.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when the given value for the message parameter is null.
ArgumentNullExceptionThrown when the given value for the validator parameter is null.
See Also