Validate(ValidatorDelegate<DeclarationValidationContext>)
Registers a method that will be invoked to validate any declaration
in the current set. This method must have a parameter of type in
DeclarationValidationContext.
Declaration
void Validate(ValidatorDelegate<DeclarationValidationContext> validateMethod)
Parameters
Type | Name | Description |
---|---|---|
ValidatorDelegate<DeclarationValidationContext> | validateMethod |