nspectre - declarative validation for .NET

SpecificationProcessor Constructor 

Creates a new instance of SpecificationCompiler

public SpecificationProcessor(
   ArrayList specifications,
   Generator generator,
   CandidateType candidateType,
   Properties templates,
   ILogger logger
);

Parameters

specifications
An ArrayList of specifications.
generator
The generator to use.
candidateType
The CandidateType the specifications are for.
templates
The templates that are used.
logger
The ILogger to be used by this SpecificationProcessor.

Remarks

The specifications parameter is used to keep track of specifications that have already been compiled. The templates are used as a lookup for repeatedly used templates.

See Also

SpecificationProcessor Class | NSpectre.Core.Configuration.Compiler Namespace