Open sandboxFocus

Method Validate

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 inDeclarationValidationContext.

Declaration
void Validate(ValidatorDelegate<DeclarationValidationContext> validateMethod)
Parameters
Type Name Description
ValidatorDelegate<DeclarationValidationContext> validateMethod