Represents an instance of an aspect, as well as the results of the aspect instance.
Namespace: Metalama.Framework.Introspection
Assembly: Metalama.Framework.Introspection.dll
Syntax
public interface IIntrospectionAspectInstance : IIntrospectionAspectPredecessor
Properties
Name | Description |
---|---|
Advice | Gets the advice added by the aspect. |
Aspect | Gets the aspect instance. |
AspectClass | Gets the aspect type. |
AspectState | Gets the optional opaque object defined by the aspect for the specific TargetDeclaration using the AspectState property of the IAspectBuilder interface. |
Diagnostics | Gets the list of diagnostics produced by the aspect. |
IsSkipped | Gets a value indicating whether the current aspect instance has been skipped. This value is |
SecondaryInstances | Gets the other instances of the same AspectClass on the same TargetDeclaration. When several instances of the same AspectClass are found on the same TargetDeclaration, they are ordered by priority, and only the first one gets executed. The other instances are exposed on this property. |