Class LazyGetAndReset<TValue>
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
-
objectLazyGet<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
newValueTValue