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.

EntityStateCache

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

EntityStateCache

public class EntityStateCache : IEntityStateCache

Inheritance

Namespace

Constructors

EntityStateCache

public EntityStateCache(ICache cache, ILogger logger)

Methods

ClearStateCache<T>

public void ClearStateCache<T>(string cacheKey)
    where T : EntityStateBase

GetStateCache<T> (1 of 2)

public IConcurrentDictionary<Guid, Lazy<T>> GetStateCache<T>(string cacheKey)
    where T : EntityStateBase

GetStateCache<T> (2 of 2)

public IConcurrentDictionary<Guid, Lazy<T>> GetStateCache<T>(string cacheKey, 
    Func<IConcurrentDictionary<Guid, Lazy<T>>> factory)
    where T : EntityStateBase

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.