DistributedCachingChatClient.GetCacheKey(ReadOnlySpan<Object>) Method

Definition

Computes a cache key for the specified values.

protected:
 override System::String ^ GetCacheKey(ReadOnlySpan<System::Object ^> values);
protected override string GetCacheKey (scoped ReadOnlySpan<object?> values);
override this.GetCacheKey : ReadOnlySpan<obj> -> string
Protected Overrides Function GetCacheKey (values As ReadOnlySpan(Of Object)) As String

Parameters

values
ReadOnlySpan<Object>

The values to inform the key.

Returns

The computed key.

Remarks

The values are serialized to JSON using JsonSerializerOptions in order to compute the key.

Applies to