nspectre - declarative validation for .NET

NSpectre.Core Namespace

Namespace hierarchy

Classes

Class Description
Context Context is used to hold information about the context in which specifications are running. This allows variables to be passed to specifications.
Error Error represents an error that occurs.
FunctionResult Summary description for FunctionResult.
Initialiser Initialiser is used to set up the specifications.
Properties Properties is a generic collection of name-object pairs used to pass properties.
ValidationError ValidationError represents an error that occurs during validation.
ValidationErrorCollection ValidationErrorCollection is a collection of ValidationError objects.

Interfaces

Interface Description
IFunctionResult Summary description for IFunctionResult.
IResult IResult defines the interface for the results.
ISpecification ISpecification is implemented by all Specification classes.
ISpecificationResult ISpecificationResult defines the interface for the result of a specification.
IValidationResult IValidationResult defines the interface for the result of a specification..
IValidator IValidator defines the interface for Validators.
IValidatorFactory IValidatorFactory defines the interface for Validator Factories.

Enumerations

Enumeration Description
CompositeKind Represents the kinds of composite specifications that can be created