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

A Scoped Cache provider which stores items in the HttpContext.Items cache.
Наследование: 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

Приватные методы

Метод Описание
DoAddOrChange ( string key, object>.Func factory ) : object
GetFromContext ( string key ) : object

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

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