Polly.Caching.ISyncCacheProvider<TResult>
Defines methods for classes providing synchronous cache functionality for Polly
CachePolicy<T>s.
namespace Polly.
Caching
{
public interface ISyncCacheProvider<[
System.
Runtime.
CompilerServices.
Nullable(
2)]
TResult>
{
(
bool,
TResult)
TryGet(
string key);
void Put(
string key,
TResult value,
Ttl ttl);
}
}