ICache
public interface ICache
Namespace
Methods
ClearAll
public void ClearAll()
ClearByKey
public void ClearByKey(string cacheKey)
Get (1 of 2)
public object Get(string cacheKey)
Get (2 of 2)
public object Get(string cacheKey, Func<object> factory)
GetTyped<T> (1 of 2)
public T GetTyped<T>(string cacheKey)
GetTyped<T> (2 of 2)
public T GetTyped<T>(string cacheKey, Func<T> factory)
Set (1 of 2)
public void Set(string cacheKey, object cacheValue)
Set (2 of 2)
public void Set(string cacheKey, object cacheValue, TimeSpan cacheDuration)