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

Class ElasticsearchEventSourcingServiceCollectionExtensions

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

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

Extension methods for registering the Elasticsearch event store.

public static class ElasticsearchEventSourcingServiceCollectionExtensions

objectElasticsearchEventSourcingServiceCollectionExtensions

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

AddCephalonElasticsearchEventSourcing(IServiceCollection, string, string)

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

Registers as in the service collection.

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

services IServiceCollection

The service collection to extend.

uri string

The Elasticsearch node URI.

indexName string

The target Elasticsearch index name for event stream documents.

IServiceCollection

The same service collection for fluent composition.