Open sandboxFocus

Method SelectReflectionTypes

SelectReflectionTypes(IQuery<ICompilation>, IEnumerable<Type>)

Selects several INamedType in the current compilation or in a reference assembly given their reflection Type.

Declaration
public static IQuery<INamedType> SelectReflectionTypes(this IQuery<ICompilation> receiver, IEnumerable<Type> types)
Parameters
Type Name Description
IQuery<ICompilation> receiver

A query selecting the compilation.

IEnumerable<Type> types

The collection of reflection types to select.

Returns
Type Description
IQuery<INamedType>

A query selecting the named types corresponding to the reflection types.

SelectReflectionTypes(IQuery<ICompilation>, params Type[])

Selects several INamedType in the current compilation or in a reference assembly given their reflection Type.

Declaration
public static IQuery<INamedType> SelectReflectionTypes(this IQuery<ICompilation> receiver, params Type[] types)
Parameters
Type Name Description
IQuery<ICompilation> receiver

A query selecting the compilation.

Type[] types

The array of reflection types to select.

Returns
Type Description
IQuery<INamedType>

A query selecting the named types corresponding to the reflection types.