Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code / Namespace­Extensions / Descendants­And­Self

Method DescendantsAndSelf

DescendantsAndSelf(INamespace)

Gets all child and descendant namespaces of the current namespace, plus the current namespace.

Declaration
public static IReadOnlyList<INamespace> DescendantsAndSelf(this INamespace ns)
Parameters
Type Name Description
INamespace ns
Returns
Type Description
IReadOnlyList<INamespace>