Open sandboxFocus

Method Tag

Tag<TNewTag>(Func<TDeclaration, TNewTag>)

Projects the declarations in the current set by replacing the tag of each declaration.

Declaration
IValidatorReceiver<out TDeclaration, TNewTag> Tag<TNewTag>(Func<out TDeclaration, TNewTag> getTag)
Parameters
Type Name Description
Func<TDeclaration, TNewTag> getTag
Returns
Type Description
IValidatorReceiver<TDeclaration, TNewTag>
Type Parameters
Name Description
TNewTag

Tag<TNewTag>(Func<TDeclaration, TTag, TNewTag>)

Projects the declarations in the current set by replacing the tag of each declaration. This overload does supplies the old tag to the getTag delegate.

Declaration
IValidatorReceiver<out TDeclaration, TNewTag> Tag<TNewTag>(Func<out TDeclaration, out TTag, TNewTag> getTag)
Parameters
Type Name Description
Func<TDeclaration, TTag, TNewTag> getTag
Returns
Type Description
IValidatorReceiver<TDeclaration, TNewTag>
Type Parameters
Name Description
TNewTag