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 Neo4jEventSourcingServiceCollectionExtensionsInheritance
Section titled “Inheritance”object ← Neo4jEventSourcingServiceCollectionExtensions
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”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")Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”The same service collection for fluent registration.