C# Class Rebel.Framework.ThreadStaticScopedCache

Inheritance: AbstractScopedCache
Afficher le fichier Open project: RebelCMS/rebelcmsxu5

Méthodes publiques

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

Removes any item from the cache that match the regex pattern

ScopeComplete ( ) : void

Method Details

AddOrChange() public méthode

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

GetOrCreate() public méthode

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

InvalidateItems() public méthode

Removes any item from the cache that match the regex pattern
public InvalidateItems ( string pattern ) : int
pattern string
Résultat int

ScopeComplete() public méthode

public ScopeComplete ( ) : void
Résultat void