-
Couldn't load subscription status.
- Fork 35
M_CodeJam_Lazy_Create__1_5
Andrew Koryavchenko edited this page Jun 17, 2018
·
5 revisions
Initializes a new instance of the Lazy(T) class. When lazy initialization occurs, the default constructor of the target type is used.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static Lazy<T> Create<T>(
LazyThreadSafetyMode mode
)VB
Public Shared Function Create(Of T) (
mode As LazyThreadSafetyMode
) As Lazy(Of T)F#
static member Create :
mode : LazyThreadSafetyMode -> Lazy<'T>
- mode
- Type: System.Threading.LazyThreadSafetyMode
One of the enumeration values that specifies the thread safety mode.
- T
- The type of object that is being lazily initialized.