Open sandboxFocus

Class ValidationQueryExtensions

Inheritance
ValidationQueryExtensions
Namespace: Metalama.Extensions.Validation
Assembly: Metalama.Extensions.Validation.dll
Syntax
[CompileTime]
public static class ValidationQueryExtensions

Methods

Name Description
AfterAllAspects<TDeclaration>(IQuery<TDeclaration>)

Gets an interface that allows to validate the final compilation, after all aspects have been applied.

AfterAllAspects<TDeclaration, TTag>(ITaggedQuery<TDeclaration, TTag>)

Gets an interface that allows to validate the final compilation, after all aspects have been applied.

BeforeAnyAspect<TDeclaration>(IQuery<TDeclaration>)

Gets an interface that allows to validate the initial compilation, after before any aspect has been applied.

BeforeAnyAspect<TDeclaration, TTag>(ITaggedQuery<TDeclaration, TTag>)

Gets an interface that allows to validate the initial compilation, after before any aspect has been applied.

Validate<TDeclaration>(IQuery<TDeclaration>, Action<DeclarationValidationContext>, in DeclarationValidationOptions)

Registers a method that will be invoked to validate any declaration in the current set. This method must have a parameter of type inDeclarationValidationContext.

Validate<TDeclaration, TTag>(ITaggedQuery<TDeclaration, TTag>, Action<DeclarationValidationContext>, in DeclarationValidationOptions)