Open sandboxFocus

Method Descendants

Descendants(INamespace)

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

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

The namespace whose descendants to retrieve.

Returns
Type Description
IReadOnlyList<INamespace>

A list of all descendant namespaces, excluding the current namespace.