UmbracoAppCache
public class UmbracoAppCache : ICache
Inheritance
- interface ICache
Namespace
Constructors
UmbracoAppCache
public UmbracoAppCache(IAppCache appCache)
Methods
Clear
public virtual void Clear(string cacheKey)
ClearAll
public virtual void ClearAll()
ClearByKey
public virtual void ClearByKey(string cacheKeyStartsWith)
FindByKey
public virtual IEnumerable<object> FindByKey(string keyStartsWith)
FindByKeyTyped<T>
public virtual IEnumerable<T> FindByKeyTyped<T>(string keyStartsWith)
Get (1 of 2)
public virtual object Get(string cacheKey)
Get (2 of 2)
public virtual object Get(string cacheKey, Func<object> factory)
GetTyped<T> (1 of 2)
public virtual T GetTyped<T>(string cacheKey)
GetTyped<T> (2 of 2)
public virtual T GetTyped<T>(string cacheKey, Func<T> factory)
Set (1 of 2)
public virtual void Set(string cacheKey, object cacheValue)
Set (2 of 2)
public virtual void Set(string cacheKey, object cacheValue, TimeSpan cacheDuration)