The layze loader.
Lazy
Type Parameters
| Name | Description |
|---|---|
TOut |
01 Syntax
Microsoft.VisualBasic.ComponentModel.Lazy`1
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | Init this lazy loader with the data source handler. |
| ToString | 1 | |
| op_Explicit | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Value | 1 | Get cache data if it exists, or the data will be loaded first. |
04 Fields
05 Members
#ctor(
Func(Of `0))Init this lazy loader with the data source handler.
Parameters
| Name | Type | Description |
|---|---|---|
valueFactory | Func(Of `0) | The data source provider handler. |
Value
Get cache data if it exists, or the data will be loaded first.
__factory
the data source handler.
_cache
The output result cache data.
ToString()
op_Explicit(Lazy(Of TOut))