Interface ICacheOptions
Interface to be implemented by each cache options implementation
Namespace: PnP.Framework.Modernization.Cache
Assembly: PnP.Framework.dll
Syntax
public interface ICacheOptions
Properties
EntryOptions
Default cache entry configuration, will be used to save items to the cache
Declaration
DistributedCacheEntryOptions EntryOptions { get; set; }
Property Value
DistributedCacheEntryOptions
|
KeyPrefix
Prefix value that will be prepended to the provided key value
Declaration
string KeyPrefix { get; set; }
Property Value
System.String
|
Methods
GetKey(String)
Returns the key value to use by the caching system, typically this will mean prepending the KeyPrefix
Declaration
string GetKey(string key)
Parameters
System.String
key
Provided key |
Returns
System.String
Key to use by the caching system |