Class EventLogAttribute
- Namespace
- Cratis.Chronicle.EventSequences
- Assembly
- Cratis.Chronicle.dll
Convenience attribute that pins an observer (Reactor, Reducer, or model-bound Projection) to the default event log sequence (Log).
[AttributeUsage(AttributeTargets.Class)]
public sealed class EventLogAttribute : EventSequenceAttribute
- Inheritance
-
EventLogAttribute
- Inherited Members
Remarks
Equivalent to [EventSequence(EventSequenceId.LogId)] but more expressive.
Use this when you want to be explicit that the observer reads from the local event log
rather than an inbox or another sequence.
Constructors
EventLogAttribute()
Convenience attribute that pins an observer (Reactor, Reducer, or model-bound Projection) to the default event log sequence (Log).
public EventLogAttribute()
Remarks
Equivalent to [EventSequence(EventSequenceId.LogId)] but more expressive.
Use this when you want to be explicit that the observer reads from the local event log
rather than an inbox or another sequence.