C# Class BlogEngine.Core.Providers.CacheProvider.CacheProvider

Abstracts away access to the cache.
Inheritance: BlogEngine.Core.Providers.CacheProvider.CacheBase
Mostra file Open project: rasmuskl/ReSharperCourse

Public Methods

Method Description
Add ( string key, object value, System.Web.Caching.CacheDependency dependencies, System.DateTime absoluteExpiration, System.TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback ) : object
CacheProvider ( Cache cache ) : System

Get ( string key ) : object
GetEnumerator ( ) : IDictionaryEnumerator
Insert ( string key, object value ) : void
Insert ( string key, object value, System.Web.Caching.CacheDependency dependencies ) : void
Insert ( string key, object value, System.Web.Caching.CacheDependency dependencies, System.DateTime absoluteExpiration, System.TimeSpan slidingExpiration ) : 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 ) : object
this ( string key ) : object

Method Details

Add() public method

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

CacheProvider() public method

public CacheProvider ( Cache cache ) : System
cache System.Web.Caching.Cache
return System

Get() public method

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

GetEnumerator() public method

public GetEnumerator ( ) : IDictionaryEnumerator
return IDictionaryEnumerator

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 ) : void
key string
value object
dependencies System.Web.Caching.CacheDependency
return void

Insert() public method

public Insert ( string key, object value, System.Web.Caching.CacheDependency dependencies, System.DateTime absoluteExpiration, System.TimeSpan slidingExpiration ) : void
key string
value object
dependencies System.Web.Caching.CacheDependency
absoluteExpiration System.DateTime
slidingExpiration System.TimeSpan
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 ) : object
key string
return object

this() public method

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