Pavalisoft.Caching
1.2.1
A single unified Caching Api for both MemoryCache and DistributedCache implementations including CacheManager
|
Provides Base implementation CacheSettingsProvider of CacheSettings configuration More...
Public Member Functions | |
BaseCacheSettingsProvider (IServiceProvider serviceProvider) | |
Creates an instance of ConfigurationCacheSettingsProvider with IServiceProvider More... | |
override CacheSettings | LoadCacheSettings () |
Loads CacheSettings object from "Caching" configuration section in appSettings.json 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... | |
Additional Inherited Members | |
![]() | |
CacheSettingsProvider (IServiceProvider serviceProvider) | |
Creates an instance of CacheSettingsProvider More... | |
![]() | |
IServiceProvider | ServiceProvider [get] |
Gets IServiceProvider instance More... | |
Provides Base implementation CacheSettingsProvider of CacheSettings configuration
Pavalisoft.Caching.BaseCacheSettingsProvider.BaseCacheSettingsProvider | ( | IServiceProvider | serviceProvider | ) |
Creates an instance of ConfigurationCacheSettingsProvider with IServiceProvider
serviceProvider | IServiceProvider |
|
virtual |
Loads CacheSettings object from "Caching" configuration section in appSettings.json
Implements Pavalisoft.Caching.CacheSettingsProvider.
Reimplemented in Pavalisoft.Caching.ConfigurationCacheSettingsProvider.