Search Results for

    Show / Hide Table of Contents

    Interface ICacheProvider

    The interface of cache Provider

    Namespace: PnP.Framework.Utilities.Cache
    Assembly: PnP.Framework.dll
    Syntax
    public interface ICacheProvider

    Methods

    Get<T>(String)

    Returns an item in cache keyed by the cacheKey parameter

    Declaration
    T Get<T>(string cacheKey)
    Parameters
    System.String cacheKey

    The key for the cached item

    Returns
    T

    The item retrieved from the cache

    Type Parameters
    T

    The expected type of cached item

    Put<T>(String, T)

    Puts an entry in cache

    Declaration
    void Put<T>(string cacheKey, T item)
    Parameters
    System.String cacheKey

    The key for the cached item

    T item

    The item to put into cache

    Type Parameters
    T

    The type of item to cache

    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