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.

IPolicyCache

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

IPolicyCache

public interface IPolicyCache : ICache

Inheritance

Namespace

Methods

Get

public object Get(string cacheKey, Func<object> factory, TimeSpan? timeout, bool isSliding = false)

Set

public void Set(string cacheKey, Func<object> factory, TimeSpan? timeout = default(TimeSpan?), 
    bool isSliding = false)

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.