Class OpenSearchEventSourcingServiceCollectionExtensions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.EventSourcing.OpenSearch.Hosting
Assembly: Cephalon.EventSourcing.OpenSearch.dll
Extension methods for registering the OpenSearch event store.
public static class OpenSearchEventSourcingServiceCollectionExtensionsInheritance
Section titled “Inheritance”object ← OpenSearchEventSourcingServiceCollectionExtensions
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”AddCephalonOpenSearchEventSourcing(IServiceCollection, string, string)
Section titled “ AddCephalonOpenSearchEventSourcing(IServiceCollection, string, string)”Registers
public static IServiceCollection AddCephalonOpenSearchEventSourcing(this IServiceCollection services, string uri, string indexName = "event-streams")Parameters
Section titled “Parameters”services IServiceCollection
The service collection to extend.
uri string
The OpenSearch node URI.
indexName string
The target OpenSearch index name for event stream documents.
Returns
Section titled “Returns”The same service collection for fluent composition.