ข้ามไปยังเนื้อหา

Interface IEventStoreCatalog

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.EventSourcing
Assembly: Cephalon.Abstractions.dll

Exposes the event-stream surfaces visible to the current runtime.

public interface IEventStoreCatalog

Gets all event-stream descriptors visible to the current runtime.

IReadOnlyList<EventStreamDescriptor> All { get; }

IReadOnlyList<EventStreamDescriptor>

Finds one event stream by its stable identifier.

EventStreamDescriptor? FindById(string id)

id string

The event-stream identifier to resolve.

EventStreamDescriptor?

The matching event stream, or null when it is not active.

Gets all event streams backed by the requested provider identifier.

IReadOnlyList<EventStreamDescriptor> GetByProvider(string provider)

provider string

The provider identifier to filter by.

IReadOnlyList<EventStreamDescriptor>

The matching event streams, or an empty list when the provider contributes none.