<PackageReference Include="Polly" Version="5.4.0" />

ITtlStrategy

public interface ITtlStrategy
Defines a strategy for providing time-to-live durations for cacheable results.
namespace Polly.Caching { public interface ITtlStrategy { Ttl GetTtl(Context context); } }