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.

UmbracoAppCache

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

UmbracoAppCache

public class UmbracoAppCache : ICache

Inheritance

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)

Edit this page on GitHub

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