C# Class Cedar.Framework.Caching.CachingProviderBase

Afficher le fichier Open project: Chinaccn/surfboard

Méthodes publiques

Méthode Description
Add ( string key, object value, System.TimeSpan expirationTime ) : void

CachingProviderBase ( bool isenable ) : System
Clear ( ) : void

Remove all cache items added by the cache store itself.

Nothing will be done if not enabled.

Get ( string key ) : object

Méthodes protégées

Méthode Description
AddCore ( string key, object value, System.TimeSpan expirationTime ) : void

ClearCore ( ) : void

Remove all cache items added by the cache store itself.

GetCore ( string key ) : object

Method Details

Add() public méthode

public Add ( string key, object value, System.TimeSpan expirationTime ) : void
key string
value object
expirationTime System.TimeSpan
Résultat void

AddCore() protected abstract méthode

protected abstract AddCore ( string key, object value, System.TimeSpan expirationTime ) : void
key string
value object
expirationTime System.TimeSpan
Résultat void

CachingProviderBase() public méthode

public CachingProviderBase ( bool isenable ) : System
isenable bool
Résultat System

Clear() public méthode

Remove all cache items added by the cache store itself.
Nothing will be done if not enabled.
public Clear ( ) : void
Résultat void

ClearCore() protected abstract méthode

Remove all cache items added by the cache store itself.
protected abstract ClearCore ( ) : void
Résultat void

Get() public méthode

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

GetCore() protected abstract méthode

protected abstract GetCore ( string key ) : object
key string
Résultat object