LazyAsyncT(FuncT) Constructor
Initializes a new instance of the
LazyAsyncT class.
Namespace: DevCase.Runtime.ThreadingAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public LazyAsync(
Func<T> valueFactory
)
Public Sub New (
valueFactory As Func(Of T)
)
Dim valueFactory As Func(Of T)
Dim instance As New LazyAsync(valueFactory)
public:
LazyAsync(
Func<T>^ valueFactory
)
new :
valueFactory : Func<'T> -> LazyAsync
No code example is currently available or this language may not be supported.
Parameters
- valueFactory FuncT
-
The delegate that is invoked to produce the lazily initialized value when it is needed.