MetalamaAPI documentationAspect APIMetalama.​Framework.​ValidationDeclaration­Validation­Context
Open sandboxFocus

DeclarationValidationContext Class

The context object passed to the single parameter of validators added using Validate(ValidatorDelegate<DeclarationValidationContext>).

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

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.

See Also