Where<T>(IVerifier<T>, Func<T, bool>)
Filters the declarations in the current set.
Declaration
public static IVerifier<T> Where<T>(this IVerifier<T> verifier, Func<T, bool> predicate) where T : class, IDeclaration
Parameters
Type | Name | Description |
---|---|---|
IVerifier<T> | verifier | |
Func<T, bool> | predicate |
Returns
Type | Description |
---|---|
IVerifier<T> |
Type Parameters
Name | Description |
---|---|
T |
Where(ITypeSetVerifier<INamedType>, Func<INamedType, bool>)
Gets a new set of types obtained by filtering the current set.
Declaration
public static ITypeSetVerifier<INamedType> Where(this ITypeSetVerifier<INamedType> verifier, Func<INamedType, bool> predicate)
Parameters
Type | Name | Description |
---|---|---|
ITypeSetVerifier<INamedType> | verifier | |
Func<INamedType, bool> | predicate |
Returns
Type | Description |
---|---|
ITypeSetVerifier<INamedType> |