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