Members and overloads 6 declared here On this results page OnCacheUpdate PerCachedValue(Func<T>) RequestCacheFlush() ShouldUpdateCache(bool) op_Implicit(PerCachedValue<T>) Value
Copy
public EventHandler<CacheUpdateEvent> PerCachedValue<T>.OnCacheUpdate
Raised for on cache update. Subscribe with the callback type shown in the signature.
Event handler type: EventHandler<CacheUpdateEvent>
Copy
protected PerCachedValue<T>.PerCachedValue(Func<T> producer)
Creates a new PerCachedValue instance using the supplied arguments.
Parameters
producerParameter type: Func<T>No current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies producer.
Copy
public void PerCachedValue<T>.RequestCacheFlush()
Requests cache flush.
Return type: voidNo return value.
Copy
protected abstract bool PerCachedValue<T>.ShouldUpdateCache(bool force = false)
Calls ShouldUpdateCache on PerCachedValue<T> with force and returns bool. Open the return contract below before using the result.
Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Parameters
forceParameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies force. Optional; the default is shown in the signature.
Returns: A Boolean result. The member description explains the condition being checked.
Copy
public static PerCachedValue<T>.implicit operator T(PerCachedValue<T> pfcv)
Converts this value to the return type shown in the signature.
Return type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Parameters
pfcvParameter type: PerCachedValue<T>Specifies pfcv.
Returns: The T result.
Copy
public T PerCachedValue<T>.Value { get; }
Reads value on PerCachedValue<T> as T. The exact type and accessors are shown below.
Value type: TNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
DPB1 0.3.29.56 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.