Open sandboxFocus
  • TOC

Metalama Documentation

Getting started

Video tutorials

Conceptual documentation

Commented examples

API documentation

Aspect API

Metalama.​Framework.​Advising

Metalama.​Framework.​Aspects

Metalama.​Framework.​Code

Metalama.​Framework.​Code.​Collections

Metalama.​Framework.​Code.​Comparers

Metalama.​Framework.​Code.​Declaration­Builders

Metalama.​Framework.​Code.​Invokers

Metalama.​Framework.​Code.​Syntax­Builders

Metalama.​Framework.​Code.​Types

Metalama.​Framework.​Code­Fixes

Metalama.​Framework.​Diagnostics

Metalama.​Framework.​Eligibility

Metalama.​Framework.​Fabrics

Metalama.​Framework.​Metrics

Metalama.​Framework.​Options

Metalama.​Framework.​Project

Metalama.​Framework.​Run­Time

Metalama.​Framework.​Serialization

Metalama.​Framework.​Services

Metalama.​Framework.​Utilities

Metalama.​Framework.​Validation

Extensions API

Patterns API

Flashtrace API

Introspection API

Advanced API

Post­Sharp API migration

  • Article

Method SelectTypes

SelectTypes(bool)

Selects all types enclosed in declarations of the current set.

Declaration
IValidatorReceiver<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
IValidatorReceiver<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.

.
  • Navigation