Open sandboxFocus

Interface IIntrospectionAspectPredecessor

Base interface for objects that can cause aspects to be added to a compilation. Predecessors are exposed on the Predecessors property.

Namespace: Metalama.Framework.Introspection
Assembly: Metalama.Framework.Introspection.dll
Syntax
public interface IIntrospectionAspectPredecessor

Properties

Name Description
PredecessorDegree

Gets the number of predecessors between the root cause and the current predecessor, or 0 if the current predecessor is the root cause.

Predecessors

Gets the list of objects that have caused the current aspect instance (but not any instance in the SecondaryInstances list) to be created.

Successors

Gets the list of aspect instances that have been created (or caused) by the current object.

TargetDeclaration

Gets the declaration to which the aspect or fabric is applied.

Extension Methods