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

Class EventStreamRegistry

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

Namespace: Cephalon.EventSourcing.Services
Assembly: Cephalon.EventSourcing.dll

Collects event-stream descriptors registered by the active host and companion packs.

public sealed class EventStreamRegistry : IEventStoreRegistry, IEventStoreContributor

objectEventStreamRegistry

IEventStoreRegistry, IEventStoreContributor

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Initializes a new instance of the class.

public EventStreamRegistry()

Returns the descriptors that have been registered with the current registry instance.

public IReadOnlyList<EventStreamDescriptor> Contribute()

IReadOnlyList<EventStreamDescriptor>

The registered descriptors.

Registers one event-stream descriptor with the registry.

public void Register(EventStreamDescriptor descriptor)

descriptor EventStreamDescriptor

The descriptor to register.