C# Класс SWFProcessing.Swiffotron.Processor.Caches

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

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

Метод Описание
Caches ( ) : System.Collections.Generic
Get ( SwiffotronContext ctx, string key ) : object

Retrieves a cached object given its fully qualified cache key of the form [cache name]:[cache key]

Interrogate ( string>.Dictionary info ) : void

Get some useful information for debug purposes letting us find out how things are set up. I should list them all here, really.

Put ( SwiffotronContext ctx, string key, object v ) : void

Caches an object under a key in a given cache, specified as part of the cache key. GetCacheItem

Register ( string name, ISwiffotronCache cache ) : void

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

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

public Caches ( ) : System.Collections.Generic
Результат System.Collections.Generic

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

Retrieves a cached object given its fully qualified cache key of the form [cache name]:[cache key]
public Get ( SwiffotronContext ctx, string key ) : object
ctx SwiffotronContext
key string Full cache path
Результат object

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

Get some useful information for debug purposes letting us find out how things are set up. I should list them all here, really.
public Interrogate ( string>.Dictionary info ) : void
info string>.Dictionary An accumulating big map of arbitrary string->string data /// that you can pick apart and use as you so desire.
Результат void

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

Caches an object under a key in a given cache, specified as part of the cache key. GetCacheItem
public Put ( SwiffotronContext ctx, string key, object v ) : void
ctx SwiffotronContext
key string Full cache path
v object The object to cache
Результат void

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

public Register ( string name, ISwiffotronCache cache ) : void
name string
cache ISwiffotronCache
Результат void