nspectre - declarative validation for .NET

ValidationError Constructor (String, String, String)

Creates a new instance of ValidationError

public ValidationError(
   string specificationName,
   string message,
   string key
);

Parameters

specificationName
The name of the specification that failed.
message
The message that explains the error.
key
A key describing a classification of this error

See Also

ValidationError Class | NSpectre.Core Namespace | ValidationError Constructor Overload List