AI OnAI Off
These are not obsolete:
public CacheEvictionPolicy(
TimeSpan expiration,
CacheTimeoutType timeoutType
)
https://world.episerver.com/documentation/Class-library/?documentId=cms/11/269E26F
public CacheEvictionPolicy(
TimeSpan expiration,
CacheTimeoutType timeoutType,
IEnumerable<string> cacheKeys
)
https://world.episerver.com/documentation/Class-library/?documentId=cms/11/269E26E
The constructor for CacheEvictionPolicy that takes a TimeSpan expiration is obsolete. It is also not possible to set the expiration on the CacheEvictionPolicy after construction. Is there a non-obsolete way to achieve this?