Table of Contents

Interface ICacheKeyStrategy

Namespace
Polly.Caching
Assembly
Polly.dll

Defines how a CachePolicy should get a string cache key from an execution Context

public interface ICacheKeyStrategy

Methods

GetCacheKey(Context)

Gets the cache key from the given execution context.

string GetCacheKey(Context context)

Parameters

context Context

The execution context.

Returns

string

The cache key