Table of Contents

Class TagsAttribute

Namespace
Cratis.Chronicle
Assembly
Cratis.Chronicle.dll

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

tags string[]

The tags to apply.

Remarks

Initializes a new instance of TagsAttribute.

Properties

Tags

Gets the tags.

public IEnumerable<string> Tags { get; }

Property Value

IEnumerable<string>