Table of Contents

Class ScopedCache<T>

Namespace
ToSic.Sys.Caching
Assembly
ToSic.Sys.Caching.dll

Special class to cache/buffer some information for the lifetime of the scope.

[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class ScopedCache<T> where T : class, new()

Type Parameters

T
Inheritance
object
ScopedCache<T>

Remarks

Initially introduced to cache ToolbarButtonDecorators, but could be used for anything.

Fields

Cache

public T Cache

Field Value

T