Polly.Caching.ITtlStrategy<TResult>
Defines a strategy for providing time-to-live durations for cacheable results.
namespace Polly.
Caching
{
public interface ITtlStrategy<[
System.
Runtime.
CompilerServices.
Nullable(
2)]
TResult>
{
Ttl GetTtl(
Context context,
TResult result);
}
}