Pavalisoft.Caching
1.2.1
A single unified Caching Api for both MemoryCache and DistributedCache implementations including CacheManager
|
Provides Json based CacheSettings configuration More...
Public Member Functions | |
ConfigurationCacheSettingsProvider (IConfiguration configuration, IServiceProvider serviceProvider) | |
Creates an instance of ConfigurationCacheSettingsProvider with IConfiguration More... | |
override CacheSettings | LoadCacheSettings () |
Loads CacheSettings object from "Caching" configuration section in appSettings.json More... | |
![]() | |
BaseCacheSettingsProvider (IServiceProvider serviceProvider) | |
Creates an instance of ConfigurationCacheSettingsProvider with IServiceProvider 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 Json based CacheSettings configuration
Pavalisoft.Caching.ConfigurationCacheSettingsProvider.ConfigurationCacheSettingsProvider | ( | IConfiguration | configuration, |
IServiceProvider | serviceProvider | ||
) |
Creates an instance of ConfigurationCacheSettingsProvider with IConfiguration
configuration | IConfiguration object to read appSettings.json |
serviceProvider | IServiceProvider |
|
virtual |
Loads CacheSettings object from "Caching" configuration section in appSettings.json
Reimplemented from Pavalisoft.Caching.BaseCacheSettingsProvider.