Table of Contents

Interface ILazy

Namespace
The.Relationships
Assembly
Instagile.dll

Represents entity data contained in a stateful property object which can be loaded in advance or on demand.

public interface ILazy

Properties

IsPresent

Whether the data is loaded. Never performs IO.

bool IsPresent { get; }

Property Value

bool

Methods

EnsurePresent()

[Obsolete("Synchronous reads are a legacy feature which will be removed eventually. Use await, LoadAsync() or EnsurePresentAsync().")]
void EnsurePresent()

EnsurePresentAsync(CancellationToken?)

Task EnsurePresentAsync(CancellationToken? cancellationToken = null)

Parameters

cancellationToken CancellationToken?

Returns

Task