.NET Framework Class Library |
LazyInitializer..::.EnsureInitialized Method |
LazyInitializer Class See Also Send Feedback |
Overload List
Name | Description | |
---|---|---|
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.
|