nspectre - declarative validation for .NET

CustomSpecification Constructor (Type, Type, Properties)

Creates a new instance of CustomSpecification.

public CustomSpecification(
   Type type,
   Type candidateType,
   Properties properties
);

Parameters

type
The type to be used as a preprocessor. This type must implement IPreprocessor.
candidateType
The type of the candidate to be validated.
properties
The properties to use.

See Also

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