WithTag<TNewTag>(Func<TDeclaration, TNewTag>)
Projects the declarations in the current set by replacing the tag of each declaration.
Declaration
ITaggedQuery<out TDeclaration, TNewTag> WithTag<TNewTag>(Func<out TDeclaration, TNewTag> getTag)Parameters
| Type | Name | Description |
|---|---|---|
| Func<TDeclaration, TNewTag> | getTag |
Returns
| Type | Description |
|---|---|
| ITaggedQuery<TDeclaration, TNewTag> |
Type Parameters
| Name | Description |
|---|---|
| TNewTag |
WithTag<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
ITaggedQuery<out TDeclaration, TNewTag> WithTag<TNewTag>(Func<out TDeclaration, out TTag, TNewTag> getTag)Parameters
| Type | Name | Description |
|---|---|---|
| Func<TDeclaration, TTag, TNewTag> | getTag |
Returns
| Type | Description |
|---|---|
| ITaggedQuery<TDeclaration, TNewTag> |
Type Parameters
| Name | Description |
|---|---|
| TNewTag |