Definition
Package: MessageHandler.EventSourcing
Assembly: MessageHandler.EventSourcing
Namespace: MessageHandler.EventSourcing
An in memory event source
Constructors
| Constructor | Description |
|---|---|
| InMemoryEventSource() | Creates a new instance of InMemoryEventSource |
| InMemoryEventSource(IEnumerable |
Creates a new instance of InMemoryEventSource |
Methods
| Method | Description |
|---|---|
| EnableEncryption(IEncryptEvents) | Enable encryption |
| GetCheckpointStore() | Gets the outbox checkpoint store |
| Load(string, Nullable |
Load sourced events from a given stream, starting at a given timestamp |
| Load(string, string, Nullable |
Load sourced events from a given stream, paritioned by tenant, starting at a given timestamp |
| Load(string, string, int) | Load sourced events from a given stream, for a specific aggregate and version. |
| LoadRaw(string, Nullable |
Load raw events from a given stream, starting at a given timestamp |
| LoadRaw(string, string, Nullable |
Load raw events from a given stream, paritioned by tenant, starting at a given timestamp |
| LoadRaw(string, string, int) | Load raw events from a given stream, for a specific aggregate and version. |
| Persist(string, string, IEnumerable |
Persist the pending events for a specific aggregate to a stream |