C# Класс Rebel.Framework.DictionaryScopedCache

Наследование: AbstractScopedCache
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AddOrChange() публичный Метод

public AddOrChange ( string key, object>.Func factory ) : void
key string
factory object>.Func
Результат void

GetOrCreate() публичный Метод

public GetOrCreate ( string key, Func callback ) : object
key string
callback Func
Результат object

InvalidateItems() публичный Метод

Removes any item from the cache that match the regex pattern
public InvalidateItems ( string pattern ) : int
pattern string
Результат int

ScopeComplete() публичный Метод

public ScopeComplete ( ) : void
Результат void