nspectre - declarative validation for .NET

SimpleSpecificationBase Constructor (String, String)

Creates a new instance of SimpleSpecificationBase.

public SimpleSpecificationBase(
   string name,
   string errorMessage
);

Parameters

name
The name of the Specification.
errorMessage
The error message for the Specification.

See Also

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