Definition
Package: MessageHandler.EventSourcing
Assembly: MessageHandler.EventSourcing
Namespace: MessageHandler.EventSourcing
Class: InMemoryEventSource
Overloads
Method | Description |
---|---|
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. |
Load(string, Nullable)
Load sourced events from a given stream, starting at a given timestamp
Parameters
streamType: System.String
The type of the stream
timestamp: System.Nullable
The timestamp
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable>
Load(string, string, Nullable)
Load sourced events from a given stream, paritioned by tenant, starting at a given timestamp
Parameters
streamType: System.String
The type of the stream
tenantId: System.String
The id of the tenant
timestamp: System.Nullable
The timestamp
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable>
Load(string, string, int)
Load sourced events from a given stream, for a specific aggregate and version.
Parameters
streamType: System.String
The type of the stream
id: System.String
The id of the aggregate
version: System.Int32
The version of the aggregate
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable>