C# Class SenseNet.ContentRepository.Storage.Caching.AspNetCache

Wrapper class around the good old ASP.NET cache main features: populator (create/load/whatever the cached item) Distributed environment wireup
Inheritance: CacheBase
显示文件 Open project: maxpavlov/FlexNet

Public Methods

Method Description
AspNetCache ( ) : System
Get ( string key ) : object
GetEnumerator ( ) : IEnumerator
Insert ( string key, object value ) : void
Insert ( string key, object value, System.Web.Caching.CacheDependency dependencies, System.DateTime absoluteExpiration, System.TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback ) : void
Remove ( string key ) : void
Reset ( ) : void
WhatIsInTheCache ( ) : string
this ( string key ) : object

Method Details

AspNetCache() public method

public AspNetCache ( ) : System
return System

Get() public method

public Get ( string key ) : object
key string
return object

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

Insert() public method

public Insert ( string key, object value ) : void
key string
value object
return void

Insert() public method

public Insert ( string key, object value, System.Web.Caching.CacheDependency dependencies, System.DateTime absoluteExpiration, System.TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback ) : void
key string
value object
dependencies System.Web.Caching.CacheDependency
absoluteExpiration System.DateTime
slidingExpiration System.TimeSpan
priority CacheItemPriority
onRemoveCallback CacheItemRemovedCallback
return void

Remove() public method

public Remove ( string key ) : void
key string
return void

Reset() public method

public Reset ( ) : void
return void

WhatIsInTheCache() public method

public WhatIsInTheCache ( ) : string
return string

this() public method

public this ( string key ) : object
key string
return object