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 and should not be relied upon.
Declaration
ImmutableArray<AspectPredecessor> Predecessors { get; }Property Value
| Type | Description |
|---|---|
| ImmutableArray<AspectPredecessor> |
Remarks
An aspect can have multiple predecessors when it's applied through multiple mechanisms simultaneously (e.g., both inherited from a base class and added by a fabric). The order of predecessors in this array is implementation-defined and may vary between builds.
To find a specific predecessor type, iterate through the array and check each Kind.