Table of Contents

Class TagAttribute

Namespace
Cratis.Chronicle
Assembly
Cratis.Chronicle.dll

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

tags string[]

The tags to apply.

Remarks

Initializes a new instance of TagAttribute.

Properties

Tags

Gets the tags.

public IEnumerable<string> Tags { get; }

Property Value

IEnumerable<string>