nspectre - declarative validation for .NET

Generator Members

Generator overview

Public Instance Constructors

Generator Overloaded. Initializes a new instance of the Generator class.

Public Instance Methods

AddAssemblyReference Adds an assembly reference to the Generator.
AddAssemblyReferenceRange Adds a range of assembly references to the Generator.
Compile Compiles the generated specifications into an assembly.
CreateAntiSpecification Creates a specification that returns the opposite of the specified specification.
CreateCompositeSpecificationOverloaded. Creates a specification made up of specifications.
CreateSimpleFunctionSpecification Creates an instance of a generated class implementing ISpecification.
CreateSimpleTemplatedSpecification Creates an instance of a generated class implementing ISpecification.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetName Gets the name that will be used for a specification given the namespace and the name.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

CreateTemplateProcessor Creates an instance of TemplateProcessor.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Generator Class | NSpectre.Core.Engine Namespace