Class RedisEventSourcingConfiguration
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.EventSourcing.Redis
Assembly: Cephalon.EventSourcing.Redis.dll
Provides key-naming conventions for the Redis Streams event-store provider.
public static class RedisEventSourcingConfigurationInheritance
Section titled “Inheritance”object ← RedisEventSourcingConfiguration
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”StreamKey(string, string)
Section titled “ StreamKey(string, string)”Computes the Redis Stream key for the given stream identifier and key prefix.
public static string StreamKey(string keyPrefix, string streamId)Parameters
Section titled “Parameters”keyPrefix string
The key prefix configured for the Redis provider (e.g. “cephalon:”).
streamId string
The stable logical stream identifier.
Returns
Section titled “Returns”The fully qualified Redis key for the stream (e.g. “cephalon:stream:orders-42”).