Class QdrantEventSourcingServiceCollectionExtensions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.EventSourcing.Qdrant.Hosting
Assembly: Cephalon.EventSourcing.Qdrant.dll
Registers the Qdrant event-store provider used by Cephalon hosts.
public static class QdrantEventSourcingServiceCollectionExtensionsInheritance
Section titled “Inheritance”object ← QdrantEventSourcingServiceCollectionExtensions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”AddCephalonQdrantEventSourcing(IServiceCollection, string, int, string)
Section titled “ AddCephalonQdrantEventSourcing(IServiceCollection, string, int, string)”Adds the Qdrant event-store provider to the service collection.
public static IServiceCollection AddCephalonQdrantEventSourcing(this IServiceCollection services, string host, int port = 6334, string collectionName = "event-streams")Parameters
Section titled “Parameters”services IServiceCollection
The service collection to extend.
host string
The Qdrant server hostname (e.g. “localhost”).
port int
The Qdrant gRPC port. Defaults to 6334.
collectionName string
The Qdrant collection name used for event stream points. Defaults to event-streams.
Returns
Section titled “Returns”The same service collection for fluent registration.