TLazy Class

The base class of the lazy initialization type.

Namespace: Spring
TInterfacedObject
  Spring.TLazy
    Spring.TLazy<T>
type
 TLazy = class(TInterfacedObject, ILazy)
 end;

The TLazy type exposes the following members.

Show:
 NameDescription
Create

Initializes a new instance of the TLazy class.

Destroy

Represents the destructor of the TLazy class.

Top
Show:
 NameDescription
IsValueCreated

Gets a value that indicates whether a value has been created for this TLazy<T> instance.

Top
Show:
 NameDescription
GetIsValueCreated

Represents method GetIsValueCreated.

GetValueNonGeneric

Represents method GetValueNonGeneric.

Top
Show:
 NameDescription
fIsValueCreated

Represents field fIsValueCreated.

fLock

Represents field fLock.

fOwnsObjects

Represents field fOwnsObjects.

Top