MetalamaAPI documentationAspect APIMetalama.​Framework.​AspectsAspect­Predecessor­ExtensionsGet­Roots
Open sandboxFocus

AspectPredecessorExtensions.GetRoots Method

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
System.Collections.Generic.IReadOnlyList<IAspectPredecessor>