The context object passed to the single parameter of validators added by extension methods of the ReferenceValidationQueryExtensions class.
Namespace: Metalama.Extensions.Validation
Assembly: Metalama.Extensions.Validation.dll
Syntax
[CompileTime]
public abstract class ReferenceValidationContextProperties
| 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. |
| Destination | Gets information about the referenced declaration. |
| Details | Gets the list of individual references that are being collectively analyzed and grouped by granularity. |
| DiagnosticLocation | |
| Diagnostics | Gets an object that allows to report diagnostics to all reference instances at one. |
| Origin | Gets information about the referencing declaration, i.e. the declaration containing the reference. |
| ReferenceKinds | |
| ReferencedDeclaration | |
| ReferencedType | |
| ReferencingDeclaration | |
| ReferencingType | |
| Source | |
| Syntax |
Methods
| Name | Description |
|---|---|
| GetReferenceEnd(ReferenceEndRole) | Gets the ReferenceEnd according to a ReferenceEndRole. |