Open sandboxFocus

Class DeclarationValidationContext

The context object passed to the single parameter of validators added using ValidationQueryExtensions methods.

Inheritance
DeclarationValidationContext
Namespace: Metalama.Extensions.Validation
Assembly: Metalama.Extensions.Validation.dll
Syntax
[CompileTime]
public sealed class DeclarationValidationContext

Properties

Name Description
AspectState

Gets the optional opaque object defined by the aspect for the specific target declaration using the AspectState property of the IAspectBuilder interface.

Declaration

Gets the declaration that should be validated.

Diagnostics

Gets a service that allows to report or suppress diagnostics.

Tag

Extension Methods

See Also