MetalamaAPI documentationExtensions APIMetalama.​Extensions.​Architecture.​FabricsVerifier­ExtensionsSelect­Types
Open sandboxFocus

VerifierExtensions.SelectTypes Method

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>