Open sandboxFocus

Method GetRoots

GetRoots(IAspectPredecessor)

Gets the roots of the predecessor tree. A root is a predecessor that does not itself have a predecessor.

Declaration
public static IReadOnlyList<IAspectPredecessor> GetRoots(this IAspectPredecessor predecessor)
Parameters
Type Name Description
IAspectPredecessor predecessor

The predecessor to start from.

Returns
Type Description
IReadOnlyList<IAspectPredecessor>

A list of root predecessors in the predecessor tree.