<PackageReference Include="Polly" Version="5.1.1-v5-x-cachealpha0001" />

ICacheProvider<TResult>

public interface ICacheProvider<TResult>
Defines methods for classes providing synchronous cache functionality for Polly CachePolicy<T>s.
using System; namespace Polly.Caching { public interface ICacheProvider<TResult> { TResult Get(string key); void Put(string key, TResult value, TimeSpan ttl); } }