Open sandboxFocus

Method SelectMany

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
Func<T, 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
Func<TIn, IEnumerable<TOut>> func
Returns
Type Description
IVerifier<TOut>
Type Parameters
Name Description
TIn
TOut