Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

ICache

API reference for ICache in Vendr, the eCommerce solution for Umbraco v8+

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)

Edit this page on GitHub

Site + logo design © 2024 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.