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

Class Neo4jEventSourcingServiceCollectionExtensions

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

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

Registers the Neo4j event-store provider used by Cephalon hosts.

public static class Neo4jEventSourcingServiceCollectionExtensions

objectNeo4jEventSourcingServiceCollectionExtensions

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

AddCephalonNeo4jEventSourcing(IServiceCollection, string, string, string, string)

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

Adds the Neo4j event-store provider to the service collection.

public static IServiceCollection AddCephalonNeo4jEventSourcing(this IServiceCollection services, string uri, string username, string password, string eventLabel = "Event")

services IServiceCollection

The service collection to extend.

uri string

The Neo4j Bolt URI (e.g. bolt://localhost:7687).

username string

The Neo4j username.

password string

The Neo4j password.

eventLabel string

The node label used for event nodes. Defaults to Event.

IServiceCollection

The same service collection for fluent registration.