<PackageReference Include="Polly" Version="8.0.0-beta.2" />

ISyncCacheProvider<TResult>

public interface ISyncCacheProvider<TResult>
using System.Runtime.CompilerServices; namespace Polly.Caching { [System.Runtime.CompilerServices.NullableContext(1)] public interface ISyncCacheProvider<[System.Runtime.CompilerServices.Nullable(2)] TResult> { [return: System.Runtime.CompilerServices.Nullable(new byte[] { 0, 2 })] (bool, TResult) TryGet(string key); void Put(string key, [System.Runtime.CompilerServices.Nullable(2)] TResult value, Ttl ttl); } }