CacheHelperAddInternal Method |
Mirror to Cache.Add().
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax protected virtual void AddInternal(
string key,
Object value,
CMSCacheDependency dependencies,
DateTime absoluteExpiration,
TimeSpan slidingExpiration,
CMSCacheItemPriority priority,
CMSCacheItemRemovedCallback onCacheRemoveCallback,
bool caseSensitive,
bool logOperation,
bool useFullKey
)
Parameters
- key
- Type: SystemString
Cache key - value
- Type: SystemObject
Cache value - dependencies
- Type: CMS.HelpersCMSCacheDependency
Cache dependencies - absoluteExpiration
- Type: SystemDateTime
Cache absolute expiration - slidingExpiration
- Type: SystemTimeSpan
Cache sliding expiration - priority
- Type: CMS.HelpersCMSCacheItemPriority
Cache priority - onCacheRemoveCallback
- Type: CMS.HelpersCMSCacheItemRemovedCallback
Cache callback on remove - caseSensitive
- Type: SystemBoolean
Cache key is case sensitive - logOperation
- Type: SystemBoolean
Log the cache operation - useFullKey
- Type: SystemBoolean
If true, the add operation uses the full cache key which includes the context prefix
See Also