Class TagAttribute
Attribute used to tag observers, read models, and event types.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class TagAttribute : Attribute
- Inheritance
-
TagAttribute
- Inherited Members
Remarks
Initializes a new instance of TagAttribute.
Constructors
TagAttribute(params string[])
Attribute used to tag observers, read models, and event types.
public TagAttribute(params string[] tags)
Parameters
tagsstring[]The tags to apply.
Remarks
Initializes a new instance of TagAttribute.
Properties
Tags
Gets the tags.
public IEnumerable<string> Tags { get; }