CacheStoreUtilities.WithLocalCaching(ICacheStore,String) - метод Смотри также Terrasoft.Core.Store - пространство имен > CacheStoreUtilities - класс > WithLocalCaching - метод : WithLocalCaching(ICacheStore,String) - метод C#
- source
- Cache.
- groupName
- The name for the group of freshness control items. All items placed in this group will become stale if the ExpireGroup method is called.
Glossary Item Box
[Extension()] public static ICacheStore WithLocalCaching( ICacheStore source, string groupName )
Параметры
- source
- Cache.
- groupName
- The name for the group of freshness control items. All items placed in this group will become stale if the ExpireGroup method is called.
Тип возвращаемого значения
The cache wrapper that provides the local data storage and verifies data freshness in the initial cache. The freshness indicator is verified each time the entities are accessed.This option is preferable only if the cache with relatively "expensive" access is used (for example, the cache service with accessing over a network) or for the cached items of the significant size.