MetadataExtensions.GetMembersIncludingNested Method

Namespace
Kampute.DocToolkit.Metadata
Assembly
  • Kampute.DocToolkit.dll

Definition

Gets all members of the type, including its nested types and their members at all nesting levels.
public static IEnumerable<IMember> GetMembersIncludingNested(this IType type)

Parameters

type IType
The type whose members are to be retrieved.

Returns

IEnumerable<IMember>
An enumerable collection of members from the type and its nested types.

Exceptions

ArgumentNullException
Thrown when type is null.

Remarks

This method retrieves all members directly declared by the type and includes nested types and their members at all nesting levels. Private and inherited members are excluded.

This method is implemented using deferred execution. The immediate return value is an object that stores all the information required to perform the action.