Redigera

Dela via


RedisStorageOptions.GetStorageKey Property

Definition

Gets the Redis key for the provided grain type and grain identifier. If not set, the default implementation will be used, which is equivalent to {ServiceId}/state/{grainId}/{grainType}.

public Func<string,Orleans.Runtime.GrainId,StackExchange.Redis.RedisKey>? GetStorageKey { get; set; }
member this.GetStorageKey : Func<string, Orleans.Runtime.GrainId, StackExchange.Redis.RedisKey> with get, set
Public Property GetStorageKey As Func(Of String, GrainId, RedisKey)

Property Value

Func<String,GrainId,StackExchange.Redis.RedisKey>

Applies to