Open sandboxFocus

Method Tag

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

Projects the declarations in the current set by adding a tag for each declaration, and returns a IValidatorReceiver<TDeclaration, TTag>. Methods of this interface have overloads that accept this tag.

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