Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Aspects / Aspect­Predecessor­Extensions / Get­Roots

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
Returns
Type Description
IReadOnlyList<IAspectPredecessor>