Search Results for

    Show / Hide Table of Contents

    Interface ICacheOptions

    Interface to be implemented by each cache options implementation

    Namespace: PnP.Framework.Modernization.Cache
    Assembly: PnP.Framework.dll
    Syntax
    public interface ICacheOptions

    Properties

    EntryOptions

    Default cache entry configuration, will be used to save items to the cache

    Declaration
    DistributedCacheEntryOptions EntryOptions { get; set; }
    Property Value
    DistributedCacheEntryOptions

    KeyPrefix

    Prefix value that will be prepended to the provided key value

    Declaration
    string KeyPrefix { get; set; }
    Property Value
    System.String

    Methods

    GetKey(String)

    Returns the key value to use by the caching system, typically this will mean prepending the KeyPrefix

    Declaration
    string GetKey(string key)
    Parameters
    System.String key

    Provided key

    Returns
    System.String

    Key to use by the caching system

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer