C# Class Rebel.Framework.AbstractScopedCache

A cache provider used for caching data in the current scope. For example, in a web application the current scope is the current request.
Inheritance: DisposableObject
Afficher le fichier Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Méthodes publiques

Méthode Description
AddOrChange ( string key, object>.Func factory ) : void
GetOrCreate ( string key, Func callback ) : object
InvalidateItems ( string pattern ) : int

Removes an item from the cache

ScopeComplete ( ) : void

Méthodes protégées

Méthode Description
DisposeResources ( ) : void

Method Details

AddOrChange() public abstract méthode

public abstract AddOrChange ( string key, object>.Func factory ) : void
key string
factory object>.Func
Résultat void

DisposeResources() protected méthode

protected DisposeResources ( ) : void
Résultat void

GetOrCreate() public abstract méthode

public abstract GetOrCreate ( string key, Func callback ) : object
key string
callback Func
Résultat object

InvalidateItems() public abstract méthode

Removes an item from the cache
public abstract InvalidateItems ( string pattern ) : int
pattern string
Résultat int

ScopeComplete() public abstract méthode

public abstract ScopeComplete ( ) : void
Résultat void