AspectInstance
Gets the current IAspectInstance, which provides metadata about this aspect instance.
Declaration
IAspectInstance AspectInstance { get; }Property Value
| Type | Description |
|---|---|
| IAspectInstance |
Remarks
This property gives access to:
<ul><li><xref href="Metalama.Framework.Aspects.IAspectPredecessor.Predecessors" data-throw-if-not-resolved="false"></xref>: The chain of aspects and fabrics that caused this aspect to be applied</li><li><xref href="Metalama.Framework.Aspects.IAspectInstance.SecondaryInstances" data-throw-if-not-resolved="false"></xref>: Additional instances when multiple instances of the same aspect type are applied to the same declaration (only the primary instance's BuildAspect is called)</li><li><xref href="Metalama.Framework.Aspects.IAspectInstance.AspectState" data-throw-if-not-resolved="false"></xref>: Custom state data specific to this aspect instance</li></ul></p>