DefaultCacheHolderGetCacheTKey, TResult - метод

Gets a Cache entry from the cache. If none is found, an empty one is created and returned.

Пространство имён:  Orchard.Caching
Сборка:  EleWise.ELMA.SDK.Web (в EleWise.ELMA.SDK.Web.dll) Версия: 1.0.0.0
Синтаксис
C#
public ICache<TKey, TResult> GetCache<TKey, TResult>(
	Type component
)

Параметры

component
Тип: Type
The component context.

Параметры типа

TKey
The type of the key within the component.
TResult
The type of the result.

Возвращаемое значение

Тип: ICacheTKey, TResult
An entry from the cache, or a new, empty one, if none is found.

Реализации

ICacheHolderGetCacheTKey, TResult(Type)
См. также