Polly.Caching.RelativeTtl
Defines a ttl strategy which will cache items for the specified time.
namespace Polly.Caching
{
public class RelativeTtl : ITtlStrategy, ITtlStrategy<object>
{
public RelativeTtl(TimeSpan ttl);
public Ttl GetTtl(Context context, object result);
}
}