Open sandboxFocus

Method Where

Where(Func<TDeclaration, bool>)

Filters the set of declarations based on a predicate.

Declaration
IValidatorReceiver<out TDeclaration, out TTag> Where(Func<out TDeclaration, bool> predicate)
Parameters
Type Name Description
Func<TDeclaration, bool> predicate
Returns
Type Description
IValidatorReceiver<TDeclaration, TTag>

Where(Func<TDeclaration, TTag, bool>)

Filters the set of declarations based on a predicate. This overload does supplies the tag to the predicate delegate.

Declaration
IValidatorReceiver<out TDeclaration, out TTag> Where(Func<out TDeclaration, out TTag, bool> predicate)
Parameters
Type Name Description
Func<TDeclaration, TTag, bool> predicate
Returns
Type Description
IValidatorReceiver<TDeclaration, TTag>