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

VerifierExtensions.SelectMany Method

SelectMany<T>(IVerifier<T>, Func<T, IEnumerable<INamedType>>)

Selects types of the current ICompilation or INamespace.

Declaration
public static ITypeSetVerifier<INamedType> SelectMany<T>(this IVerifier<T> verifier, Func<T, IEnumerable<INamedType>> func)
where T : class, IDeclaration
Parameters
Type Name Description
IVerifier<T> verifier
System.Func<T, System.Collections.Generic.IEnumerable<INamedType>> func
Returns
Type Description
ITypeSetVerifier<INamedType>
Type Parameters
Name Description
T

SelectMany<TIn, TOut>(IVerifier<TIn>, Func<TIn, IEnumerable<TOut>>)

Selects several members of the current declaration.

Declaration
public static IVerifier<TOut> SelectMany<TIn, TOut>(this IVerifier<TIn> verifier, Func<TIn, IEnumerable<TOut>> func)
where TIn : class, IDeclaration where TOut : class, IDeclaration
Parameters
Type Name Description
IVerifier<TIn> verifier
System.Func<TIn, System.Collections.Generic.IEnumerable<TOut>> func
Returns
Type Description
IVerifier<TOut>
Type Parameters
Name Description
TIn
TOut