Open sandboxFocus

Property PredecessorDegree

PredecessorDegree

Gets the depth in the predecessor chain, indicating how many levels of indirection exist between the root cause and this predecessor. A value of 0 means this is the root cause (e.g., a custom attribute or fabric that directly applied the aspect).

Declaration
int PredecessorDegree { get; }
Property Value
Type Description
int
Remarks

For example: If a fabric (degree 0) adds aspect A, which then adds child aspect B (degree 1), which adds child aspect C (degree 2), then C's PredecessorDegree is 2.

This property is primarily used for debugging and introspection to understand the chain of causality.