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