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

Class OpenSearchEventSourcingServiceCollectionExtensions

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

Namespace: Cephalon.EventSourcing.OpenSearch.Hosting
Assembly: Cephalon.EventSourcing.OpenSearch.dll

Extension methods for registering the OpenSearch event store.

public static class OpenSearchEventSourcingServiceCollectionExtensions

objectOpenSearchEventSourcingServiceCollectionExtensions

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

AddCephalonOpenSearchEventSourcing(IServiceCollection, string, string)

Section titled “ AddCephalonOpenSearchEventSourcing(IServiceCollection, string, string)”

Registers as in the service collection.

public static IServiceCollection AddCephalonOpenSearchEventSourcing(this IServiceCollection services, string uri, string indexName = "event-streams")

services IServiceCollection

The service collection to extend.

uri string

The OpenSearch node URI.

indexName string

The target OpenSearch index name for event stream documents.

IServiceCollection

The same service collection for fluent composition.