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