Class CassandraEventSourcingServiceCollectionExtensions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.EventSourcing.Cassandra.Hosting
Assembly: Cephalon.EventSourcing.Cassandra.dll
Registers the Cassandra event-store provider used by Cephalon hosts.
public static class CassandraEventSourcingServiceCollectionExtensionsInheritance
Section titled “Inheritance”object ← CassandraEventSourcingServiceCollectionExtensions
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”AddCephalonCassandraEventSourcing(IServiceCollection, string, string, string)
Section titled “ AddCephalonCassandraEventSourcing(IServiceCollection, string, string, string)”Adds the Cassandra event-store provider to the service collection.
public static IServiceCollection AddCephalonCassandraEventSourcing(this IServiceCollection services, string contactPoints, string keyspace, string tableName = "cephalon_event_streams")Parameters
Section titled “Parameters”services IServiceCollection
The service collection to extend.
contactPoints string
One or more Cassandra contact-point host addresses, separated by commas
(e.g. “localhost” or “node1,node2,node3”).
keyspace string
The Cassandra keyspace that contains the event-streams table.
tableName string
The Cassandra table name used for event stream rows. Defaults to cephalon_event_streams.
Returns
Section titled “Returns”The same service collection for fluent registration.