| 
    Pavalisoft.Caching
    1.2.1
    
   A single unified Caching Api for both MemoryCache and DistributedCache implementations including CacheManager 
   | 
 
Provides Cache Api ICacheManagerto interact with Cache Partitions for cache More...
  
Public Member Functions | |
| CacheManager (ICacheSettingsProvider cacheSettingsProvider) | |
| Creates an instance of CacheManager with cache manager settings ICacheSettingsProvider  More... | |
| TItem | Get< TItem > (string partitionName, string key) | 
| Gets cache item having specified cache key  form the specified cache partitionName   More... | |
| async Task< TItem > | GetAsync< TItem > (string partitionName, string key, CancellationToken token=default) | 
| Gets cache item having specified cache key  form the specified cache partitionName   More... | |
| void | Set< TItem > (string partitionName, string key, TItem value, IChangeToken expirationToken=null, PostEvictionCallbackRegistration postEvictionCallback=null) | 
| Adds an object to distributed cache  More... | |
| async Task | SetAsync< TItem > (string partitionName, string key, TItem value, IChangeToken expirationToken=null, PostEvictionCallbackRegistration postEvictionCallback=null, CancellationToken token=default) | 
| Adds an object to distributed cache asynchronously  More... | |
| async Task | SetAsync< TItem > (string partitionName, string key, TItem value, IChangeToken expirationToken, CancellationToken token=default) | 
| Adds an object to distributed cache asynchronously without post eviction callback  More... | |
| async Task | SetAsync< TItem > (string partitionName, string key, TItem value, PostEvictionCallbackRegistration postEvictionCallback, CancellationToken token=default) | 
| Adds an object to distributed cache asynchronously without expiration change token  More... | |
| void | Refresh (string partitionName, string key) | 
| Refreshes the cache item of the specified cache key  More... | |
| async Task | RefreshAsync (string partitionName, string key, CancellationToken token=default) | 
| Refreshes the cache item asynchronously for the specified cache key  More... | |
| void | Remove (string partitionName, string key) | 
| Removes the Cache object from the cache for the specified cache key  More... | |
| async Task | RemoveAsync (string partitionName, string key, CancellationToken token=default) | 
| Removes the Cache object asynchronously from the cache for the specified cache key  More... | |
| Pavalisoft.Caching.CacheManager.CacheManager | ( | ICacheSettingsProvider | cacheSettingsProvider | ) | 
Creates an instance of CacheManager with cache manager settings ICacheSettingsProvider
| cacheSettingsProvider | ICacheSettingsProvider provides cache manager configuration | 
| TItem Pavalisoft.Caching.CacheManager.Get< TItem > | ( | string | partitionName, | 
| string | key | ||
| ) | 
Gets cache item having specified cache key form the specified cache partitionName
| TItem | Cache object type | 
Implements Pavalisoft.Caching.Interfaces.ICacheManager.
| async Task<TItem> Pavalisoft.Caching.CacheManager.GetAsync< TItem > | ( | string | partitionName, | 
| string | key, | ||
| CancellationToken | token = default  | 
        ||
| ) | 
Gets cache item having specified cache key form the specified cache partitionName
| TItem | Cache object type | 
| partitionName | Cache Partition Name | 
| key | Cache key | 
| token | CancellationToken to be used while getting cache item | 
Implements Pavalisoft.Caching.Interfaces.ICacheManager.
| void Pavalisoft.Caching.CacheManager.Refresh | ( | string | partitionName, | 
| string | key | ||
| ) | 
Refreshes the cache item of the specified cache key
Implements Pavalisoft.Caching.Interfaces.ICacheManager.
| async Task Pavalisoft.Caching.CacheManager.RefreshAsync | ( | string | partitionName, | 
| string | key, | ||
| CancellationToken | token = default  | 
        ||
| ) | 
Refreshes the cache item asynchronously for the specified cache key
| partitionName | Cache Partition Name | 
| key | Cache Key | 
| token | CancellationToken to be used while refreshing cache item | 
Implements Pavalisoft.Caching.Interfaces.ICacheManager.
| void Pavalisoft.Caching.CacheManager.Remove | ( | string | partitionName, | 
| string | key | ||
| ) | 
Removes the Cache object from the cache for the specified cache key
Implements Pavalisoft.Caching.Interfaces.ICacheManager.
| async Task Pavalisoft.Caching.CacheManager.RemoveAsync | ( | string | partitionName, | 
| string | key, | ||
| CancellationToken | token = default  | 
        ||
| ) | 
Removes the Cache object asynchronously from the cache for the specified cache key
| partitionName | Cache Partition Name | 
| key | Cache key | 
| token | CancellationToken to be used while removing cache item | 
Implements Pavalisoft.Caching.Interfaces.ICacheManager.
| void Pavalisoft.Caching.CacheManager.Set< TItem > | ( | string | partitionName, | 
| string | key, | ||
| TItem | value, | ||
| IChangeToken | expirationToken = null,  | 
        ||
| PostEvictionCallbackRegistration | postEvictionCallback = null  | 
        ||
| ) | 
Adds an object to distributed cache
| TItem | Cache object type | 
| partitionName | Cache Partition Name | 
| key | Cache Key | 
| value | Cache object | 
| expirationToken | Cache IChangeToken expiration token to be used while adding cache item | 
| postEvictionCallback | PostEvictionCallbackRegistration delegate | 
Implements Pavalisoft.Caching.Interfaces.ICacheManager.
| async Task Pavalisoft.Caching.CacheManager.SetAsync< TItem > | ( | string | partitionName, | 
| string | key, | ||
| TItem | value, | ||
| IChangeToken | expirationToken = null,  | 
        ||
| PostEvictionCallbackRegistration | postEvictionCallback = null,  | 
        ||
| CancellationToken | token = default  | 
        ||
| ) | 
Adds an object to distributed cache asynchronously
| TItem | Cache object type | 
| partitionName | Cache Partition Name | 
| key | Cache Key | 
| value | Cache object | 
| expirationToken | Cache IChangeToken expiration token to be used while adding cache item | 
| postEvictionCallback | PostEvictionCallbackRegistration delegate | 
| token | CancellationToken to be used while setting cache item | 
Implements Pavalisoft.Caching.Interfaces.ICacheManager.
| async Task Pavalisoft.Caching.CacheManager.SetAsync< TItem > | ( | string | partitionName, | 
| string | key, | ||
| TItem | value, | ||
| IChangeToken | expirationToken, | ||
| CancellationToken | token = default  | 
        ||
| ) | 
Adds an object to distributed cache asynchronously without post eviction callback
| TItem | Cache object type | 
| partitionName | Cache Partition Name | 
| key | Cache Key | 
| value | Cache object | 
| expirationToken | Cache IChangeToken expiration token to be used while adding cache item | 
| token | CancellationToken to be used while setting cache item | 
Implements Pavalisoft.Caching.Interfaces.ICacheManager.
| async Task Pavalisoft.Caching.CacheManager.SetAsync< TItem > | ( | string | partitionName, | 
| string | key, | ||
| TItem | value, | ||
| PostEvictionCallbackRegistration | postEvictionCallback, | ||
| CancellationToken | token = default  | 
        ||
| ) | 
Adds an object to distributed cache asynchronously without expiration change token
| TItem | Cache object type | 
| partitionName | Cache Partition Name | 
| key | Cache Key | 
| value | Cache object | 
| postEvictionCallback | PostEvictionCallbackRegistration delegate | 
| token | CancellationToken to be used while setting cache item | 
Implements Pavalisoft.Caching.Interfaces.ICacheManager.