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, IEventStoreContributorInheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEventStoreRegistry, IEventStoreContributor
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”EventStreamRegistry()
Section titled “ EventStreamRegistry()”Initializes a new instance of the
public EventStreamRegistry()Methods
Section titled “Methods”Contribute()
Section titled “ Contribute()”Returns the descriptors that have been registered with the current registry instance.
public IReadOnlyList<EventStreamDescriptor> Contribute()Returns
Section titled “Returns”IReadOnlyList<EventStreamDescriptor>
The registered descriptors.
Register(EventStreamDescriptor)
Section titled “ Register(EventStreamDescriptor)”Registers one event-stream descriptor with the registry.
public void Register(EventStreamDescriptor descriptor)Parameters
Section titled “Parameters”descriptor EventStreamDescriptor
The descriptor to register.