Interface IEventStoreCatalog
Namespace: Cephalon.Abstractions.EventSourcing
Assembly: Cephalon.Abstractions.dll
Exposes the event-stream surfaces visible to the current runtime.
public interface IEventStoreCatalogProperties
Section titled “Properties”Gets all event-stream descriptors visible to the current runtime.
IReadOnlyList<EventStreamDescriptor> All { get; }Property Value
Section titled “Property Value”IReadOnlyList<EventStreamDescriptor>
Methods
Section titled “Methods”FindById(string)
Section titled “ FindById(string)”Finds one event stream by its stable identifier.
EventStreamDescriptor? FindById(string id)Parameters
Section titled “Parameters”id string
The event-stream identifier to resolve.
Returns
Section titled “Returns”The matching event stream, or null when it is not active.
GetByProvider(string)
Section titled “ GetByProvider(string)”Gets all event streams backed by the requested provider identifier.
IReadOnlyList<EventStreamDescriptor> GetByProvider(string provider)Parameters
Section titled “Parameters”provider string
The provider identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<EventStreamDescriptor>
The matching event streams, or an empty list when the provider contributes none.