protected PerCachedValue<T>.PerCachedValue(Func<T> producer)
Creates a new PerCachedValue instance using the supplied arguments.
producerFunc<T>- Specifies producer.
Provides per cached value data and the operations listed below. Related types link to the values this API consumes or returns.
Namespace: DreamPoeBot.Loki.Game.Utilities
public class PerCachedValue<T>View DPB1 version →protected PerCachedValue<T>.PerCachedValue(Func<T> producer)
Creates a new PerCachedValue instance using the supplied arguments.
producerFunc<T>public void PerCachedValue<T>.RequestCacheFlush()
Requests cache flush.
protected abstract bool PerCachedValue<T>.ShouldUpdateCache(bool force = false)
Executes the should update cache operation with the supplied arguments.
forceboolReturns: A Boolean result. The member description explains the condition being checked.
public static PerCachedValue<T>.implicit operator T(PerCachedValue<T> pfcv)
Converts this value to the return type shown in the signature.
pfcvPerCachedValue<T>Returns: The T result.
public T PerCachedValue<T>.Value { get; }
Gets value for PerCachedValue.
DPB2 0.4.5.88 · Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.