ResultTtl<TResult>
Defines a ttl strategy which can calculate a duration to cache items dynamically based on the execution context and result of the execution.
Constructs a new instance of the ResultTtl<T> ttl strategy, with a func calculating Ttl based on the TResult value to cache.
Constructs a new instance of the ResultTtl<T> ttl strategy, with a func calculating Ttl based on the execution Context and TResult value to cache.
Gets a TTL for the cacheable item.