C# Класс Utilities.CacheUtil

Показать файл Открыть проект

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

Метод Описание
Exists ( string key ) : System.Boolean

used to determine if object in cache exists

GetCacheItem ( string key ) : object

get specified cache item based on key provided

RemoveCacheItem ( string key ) : void

remove specified cache item

SetCacheItem ( string key, object data, int expireInSeconds ) : void

Insert an item into cache

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

Метод Описание
CacheUtil ( ) : System

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

Exists() публичный статический Метод

used to determine if object in cache exists
public static Exists ( string key ) : System.Boolean
key string
Результат System.Boolean

GetCacheItem() публичный статический Метод

get specified cache item based on key provided
public static GetCacheItem ( string key ) : object
key string
Результат object

RemoveCacheItem() публичный статический Метод

remove specified cache item
public static RemoveCacheItem ( string key ) : void
key string
Результат void

SetCacheItem() публичный статический Метод

Insert an item into cache
public static SetCacheItem ( string key, object data, int expireInSeconds ) : void
key string
data object
expireInSeconds int
Результат void