WithTags(object)
Sets the object exposed to the template through meta.Tags.
Declaration
ITemplateRegistration WithTags(object tags)Parameters
| Type | Name | Description |
|---|---|---|
| object | tags | The tags, which are compared by value to decide which call sites share the synthesized method. They are not resolved: a template that reads a durable value from its tags resolves it. |
Returns
| Type | Description |
|---|---|
| ITemplateRegistration |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|