nspectre - declarative validation for .NET

SpecificationBase Constructor (String, String, String)

Creates a new instance of SpecificationBase.

protected SpecificationBase(
   string name,
   string errorMessage,
   string key
);

Parameters

name
The name of the Specification.
errorMessage
The error message for the Specification.
key
The key to group any validation errors raised by this

See Also

SpecificationBase Class | NSpectre.Core.Configuration Namespace | SpecificationBase Constructor Overload List