EnsureInitialized Method

Task Parallel System.Threading

Overload List

  NameDescription
EnsureInitialized<(Of <(T>)>)(T%)
Initializes a target reference type with the type's default constructor if the target has not already been initialized.
EnsureInitialized<(Of <(T>)>)(T%, Func<(Of <(T>)>))
Initializes a target reference type using the specified function if it has not already been initialized.
EnsureInitialized<(Of <(T>)>)(T%, Boolean%, Object%)
Initializes a target reference or value type with its default constructor if it has not already been initialized.
EnsureInitialized<(Of <(T>)>)(T%, Boolean%, Object%, Func<(Of <(T>)>))
Initializes a target reference or value type with a specified function if it has not already been initialized.

See Also