Open sandboxFocus

Method WithTag

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

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

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