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
Afficher le fichier Open project: maxpavlov/FlexNet

Méthodes publiques

Méthode 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 méthode

public AspNetCache ( ) : System
Résultat System

Get() public méthode

public Get ( string key ) : object
key string
Résultat object

GetEnumerator() public méthode

public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

Insert() public méthode

public Insert ( string key, object value ) : void
key string
value object
Résultat void

Insert() public méthode

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
Résultat void

Remove() public méthode

public Remove ( string key ) : void
key string
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

WhatIsInTheCache() public méthode

public WhatIsInTheCache ( ) : string
Résultat string

this() public méthode

public this ( string key ) : object
key string
Résultat object