Metalama (preview)API documentationAspect APIMetalama.​Framework.​AspectsIAspect­Receiver<TDeclaration>Select­Types
Open sandboxFocus

IAspectReceiver<TDeclaration>.SelectTypes Method

SelectTypes(bool)

Selects all types enclosed in declarations of the current set.

Declaration
IAspectReceiver<INamedType> SelectTypes(bool includeNestedTypes = true)
Parameters
Type Name Description
bool includeNestedTypes

Indicates whether nested types should be recursively included in the output.

Returns
Type Description
IAspectReceiver<INamedType>
Remarks

This method projects ICompilation and INamespace to all the types in the compilation or namespace. It projects INamedType to itself. It projects members or parameters to their declaring types.

The query on the right part of SelectTypes(bool) is executed concurrently.

.