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

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 CassandraEventSourcingServiceCollectionExtensions

objectCassandraEventSourcingServiceCollectionExtensions

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

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")

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.

IServiceCollection

The same service collection for fluent registration.