Open sandboxFocus

Method SelectTypes

SelectTypes(IVerifier<ICompilation>, IEnumerable<Type>)

Gets a set of types in the current ICompilation, where types are given as an enumeration of Type.

Declaration
public static ITypeSetVerifier<INamedType> SelectTypes(this IVerifier<ICompilation> verifier, IEnumerable<Type> types)
Parameters
Type Name Description
IVerifier<ICompilation> verifier

The Verifier<T> returned by Verify(IProjectAmender).

IEnumerable<Type> types

A list of types.

Returns
Type Description
ITypeSetVerifier<INamedType>

SelectTypes(IVerifier<ICompilation>, params Type[])

Gets a set of types in the current ICompilation, where types are given as a list of array of Type.

Declaration
public static ITypeSetVerifier<INamedType> SelectTypes(this IVerifier<ICompilation> verifier, params Type[] types)
Parameters
Type Name Description
IVerifier<ICompilation> verifier

The Verifier<T> returned by Verify(IProjectAmender).

Type[] types

A list of types.

Returns
Type Description
ITypeSetVerifier<INamedType>