Click or drag to resize

ICacheApiSet Method

Overload List
  Name Description
Public method Code example SetT(String, T) Inserts a cache entry into the cache by using a key and a value with default expiration time which is 15 minutes.
Public method Code example SetT(String, T, TimeSpan) Inserts a cache entry into the cache by using a key and a value and specifies time-based expiration details.
Public method Code example SetT(String, T, TimeSpan, Boolean) Inserts a cache entry into the cache by using a key and a value and specifies whether it is for sliding expiration or time-based expiration.
Top
See Also