Open sandboxFocus

Method Select

Select<T>(IVerifier<T>, Func<T, INamedType>)

Selects a single type of the current ICompilation or INamespace.

Declaration
public static ITypeSetVerifier<INamedType> Select<T>(this IVerifier<T> verifier, Func<T, INamedType> func) where T : class, IDeclaration
Parameters
Type Name Description
IVerifier<T> verifier
Func<T, INamedType> func
Returns
Type Description
ITypeSetVerifier<INamedType>
Type Parameters
Name Description
T

Select<TIn, TOut>(IVerifier<TIn>, Func<TIn, TOut>)

Selects a member of the current declaration.

Declaration
public static IVerifier<TOut> Select<TIn, TOut>(this IVerifier<TIn> verifier, Func<TIn, TOut> func) where TIn : class, IDeclaration where TOut : class, IDeclaration
Parameters
Type Name Description
IVerifier<TIn> verifier
Func<TIn, TOut> func
Returns
Type Description
IVerifier<TOut>
Type Parameters
Name Description
TIn
TOut