Open sandboxFocus

Interface IAspectPredecessor

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

Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public interface IAspectPredecessor

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. The ordering of this list is undetermined.

TargetDeclaration

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

Extension Methods