Interface ICanProvideEventSourceId

Namespace
Cratis.Chronicle.Events
Assembly
Cratis.Chronicle.dll

Defines a reactor (or any object) that can provide the EventSourceId to use when appending side-effect events returned from handler methods.

public interface ICanProvideEventSourceId
Extension Methods

Remarks

Implement this interface on a reactor class to override the default behavior, which uses the EventSourceId from the incoming EventContext.

Methods

GetEventSourceId()

Gets the EventSourceId to use when appending side-effect events.

EventSourceId GetEventSourceId()

Returns

EventSourceId

The EventSourceId.