Open sandboxFocus

Method Select

Select<TMember>(Func<TDeclaration, TMember>)

Projects each declaration of the current set into a new declaration.

Declaration
IValidatorReceiver<TMember, out TTag> Select<TMember>(Func<out TDeclaration, TMember> selector) where TMember : class, IDeclaration
Parameters
Type Name Description
Func<TDeclaration, TMember> selector
Returns
Type Description
IValidatorReceiver<TMember, TTag>
Type Parameters
Name Description
TMember

Select<TMember>(Func<TDeclaration, TTag, TMember>)

Projects each declaration of the current set into a new declaration. This overload does supplies the tag to the selector delegate.

Declaration
IValidatorReceiver<TMember, out TTag> Select<TMember>(Func<out TDeclaration, out TTag, TMember> selector) where TMember : class, IDeclaration
Parameters
Type Name Description
Func<TDeclaration, TTag, TMember> selector
Returns
Type Description
IValidatorReceiver<TMember, TTag>
Type Parameters
Name Description
TMember