Lazy(T) Constructor

Task Parallel System.Threading

Overload List

  NameDescription
Lazy<(Of <(T>)>)()()()
Initializes a new instance of the Lazy<(Of <(T>)>) class that uses T's default constructor for lazy initialization.
Lazy<(Of <(T>)>)(Boolean)
Initializes a new instance of the Lazy<(Of <(T>)>) class that uses T's default constructor and a specified thread-safety mode.
Lazy<(Of <(T>)>)(Func<(Of <(T>)>))
Initializes a new instance of the Lazy<(Of <(T>)>) class that uses a specified initialization function.
Lazy<(Of <(T>)>)(LazyThreadSafetyMode)
Initializes a new instance of the Lazy<(Of <(T>)>) class that uses T's default constructor and a specified thread-safety mode.
Lazy<(Of <(T>)>)(Func<(Of <(T>)>), Boolean)
Initializes a new instance of the Lazy<(Of <(T>)>) class that uses a specified initialization function and a specified thread-safety mode.
Lazy<(Of <(T>)>)(Func<(Of <(T>)>), LazyThreadSafetyMode)
Initializes a new instance of the Lazy<(Of <(T>)>) class that uses a specified initialization function and a specified thread-safety mode.

See Also