Table of Contents

Class LazyGetAndReset<TValue>

Namespace
ToSic.Sys
Assembly
ToSic.Sys.Core.dll

A LazyGet<TValue> with the ability to reset or flush the value.

[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class LazyGetAndReset<TValue> : LazyGet<TValue>

Type Parameters

TValue
Inheritance
object
LazyGet<TValue>
LazyGetAndReset<TValue>
Inherited Members

Methods

Reset()

Reset the state and value so it will be re-generated next time it's needed.

public void Reset()

Set(TValue)

Reset the state and value so it will be re-generated next time it's needed.

public void Set(TValue newValue)

Parameters

newValue TValue