• Basics
  • Abyss
  • C# & Razor
  • JavaScript & TS
  • Web API
  • .net API

    Show / Hide Table of Contents

    Interface ICanPurgeListCache

    Marks objects which can purge it's own cache, and also force upstream caches to be purged.
    This helps in scenarios where the code knows that the cache should be cleaned, but needs to rely on the whole tree to be cleaned. Without this, a cache would be cleared but the next-upstream would still be cached, so the next access would still return the same results.

    Namespace: ToSic.Eav.DataSources.Caching
    Assembly: ToSic.Eav.DataSources.dll
    Syntax
    [InternalApi_DoNotUse_MayChangeWithoutNotice("this is just fyi")]
    public interface ICanPurgeListCache

    Methods

    | Improve this Doc View Source

    PurgeList(Boolean)

    Remove the current data from the cache, optionally also purge everything upstream

    Declaration
    void PurgeList(bool cascade = false)
    Parameters
    Type Name Description
    System.Boolean cascade

    true to purge all sources as well, default is false

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX