Members and overloads
5 results
public RetryingLazy<T>.RetryingLazy(Func<T> loader, Func<T, bool> validator, T emptyValue)
Creates a new RetryingLazy instance using the supplied arguments.
loaderFunc<T>- Specifies loader.
validatorFunc<T, bool>- Specifies validator.
emptyValueT- Specifies empty value.
public void RetryingLazy<T>.Invalidate()
Invalida il valore reale. Al prossimo accesso verrà ricaricato.
public bool RetryingLazy<T>.TryGetValue(out T value)
Prova a caricare il valore. Restituisce true soltanto se esiste un valore reale e valido. In caso di fallimento, value contiene sempre l'oggetto vuoto.
valueT- Receives value.
Returns: True when the request succeeds; read any out parameters only after checking the result.
public bool RetryingLazy<T>.HasValue { get; }
Whether value is present.
public T RetryingLazy<T>.Value { get; }
Restituisce il valore valido oppure l'oggetto vuoto. Se il valore non è ancora disponibile, prova comunque a caricarlo.
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.