Metalama//API Documentation/Extensions API/Metalama.​Extensions.​Architecture.​Fabrics/Verifier­Extensions/Select­Types
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 Metalama.Extensions.Architecture.Fabrics.Verifier`1 returned by Verify(IProjectAmender).

IEnumerable<Type> types

A list of types.

Returns
Type Description
ITypeSetVerifier<INamedType>

SelectTypes(IVerifier<ICompilation>, 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 Metalama.Extensions.Architecture.Fabrics.Verifier`1 returned by Verify(IProjectAmender).

Type[] types

A list of types.

Returns
Type Description
ITypeSetVerifier<INamedType>