Domain.GetTag<T> Method |
Gets a tag associated with the current declaration.
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public T GetTag<T>( TagId tagId )
Parameters
- tagId
- Type: PostSharp.Sdk.CodeModel.TagId
Tag identifier.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:PostSharp.Sdk.CodeModel.Domain.GetTag``1(PostSharp.Sdk.CodeModel.TagId)"]
Return Value
Type: TA tag value, or default(T) if no tag of type tagId is associated with the current declaration.