TLazy<T> Class
Provides support for lazy initialization.
The TLazy<T> type exposes the following members.
Show:
Name | Description | |
---|---|---|
Create | Overloaded. Initializes a new instance of the Lazy<T> record. When lazy initialization occurs, the default constructor of the target type is used. | |
Create(TFunc,Boolean) | Overloaded. Initializes a new instance of the TLazy<T> class. When lazy initialization occurs, the specified initialization function is used. | |
CreateFrom(T,Boolean) | Initializes a new instance of TLazy<T> with the specified value. | |
Destroy | Represents the destructor of the TLazy<T> class. (Overrides TLazy.Destroy.) |
Show:
Name | Description | |
---|---|---|
GetValue | Represents method | |
GetValueNonGeneric | Represents method | |
InitializeValue | Represents method |