LockHelperEnsure Method |
Name | Description | |
---|---|---|
EnsureT(T, Object) |
Ensures the value of the given variable in a locked context to prevent multiple loads.
Uses the default constructor of T to initialize the value.
| |
EnsureT(T, FuncT, Object) |
Ensures the value of the given variable in a locked context to prevent multiple loads.
Uses the loadMethod to initialize the value.
|