Pavalisoft.Caching
1.2.1
A single unified Caching Api for both MemoryCache and DistributedCache implementations including CacheManager
|
Provides base implementation for ICacheSettingsProvider More...
Public Member Functions | |
abstract CacheSettings | LoadCacheSettings () |
Loads Cache Settings Configuration More... | |
CacheSettings | GetCacheSettings () |
Gets CacheSettings from configuration More... | |
IEnumerable< ICacheStore > | GetCacheStores () |
Gets ICacheStore<T> from CacheSettings More... | |
ICacheStore | GetCacheStore (string storeName) |
Gets Cache Store having cache store name storeName More... | |
IEnumerable< ICachePartition > | GetCachePartitions () |
Gets Cache Partitions in the CacheSettings More... | |
ICachePartition | GetCachePartition (string name) |
Gets Cache Partition having cache partition name name More... | |
Protected Member Functions | |
CacheSettingsProvider (IServiceProvider serviceProvider) | |
Creates an instance of CacheSettingsProvider More... | |
Properties | |
IServiceProvider | ServiceProvider [get] |
Gets IServiceProvider instance More... | |
Provides base implementation for ICacheSettingsProvider
|
protected |
Creates an instance of CacheSettingsProvider
serviceProvider | Dependency Service Provider |
ICachePartition Pavalisoft.Caching.CacheSettingsProvider.GetCachePartition | ( | string | name | ) |
Gets Cache Partition having cache partition name name
name | Cache Partition Name |
Implements Pavalisoft.Caching.Interfaces.ICacheSettingsProvider.
IEnumerable<ICachePartition> Pavalisoft.Caching.CacheSettingsProvider.GetCachePartitions | ( | ) |
Gets Cache Partitions in the CacheSettings
Implements Pavalisoft.Caching.Interfaces.ICacheSettingsProvider.
CacheSettings Pavalisoft.Caching.CacheSettingsProvider.GetCacheSettings | ( | ) |
Gets CacheSettings from configuration
Implements Pavalisoft.Caching.Interfaces.ICacheSettingsProvider.
ICacheStore Pavalisoft.Caching.CacheSettingsProvider.GetCacheStore | ( | string | storeName | ) |
Gets Cache Store having cache store name storeName
storeName | Cache Store Name |
Implements Pavalisoft.Caching.Interfaces.ICacheSettingsProvider.
IEnumerable<ICacheStore> Pavalisoft.Caching.CacheSettingsProvider.GetCacheStores | ( | ) |
Gets ICacheStore<T> from CacheSettings
Implements Pavalisoft.Caching.Interfaces.ICacheSettingsProvider.
|
pure virtual |
Loads Cache Settings Configuration
Implemented in Pavalisoft.Caching.ConfigurationCacheSettingsProvider, and Pavalisoft.Caching.BaseCacheSettingsProvider.
|
getprotected |
Gets IServiceProvider instance