-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_Lazy
Andrew Koryavchenko edited this page Jun 17, 2018
·
5 revisions
Helper methods for Lazy(T) class.
System.Object
CodeJam.Lazy
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static class Lazy
VB
Public NotInheritable Class Lazy
F#
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Lazy = class end
Name | Description | |
---|---|---|
Create(T)() | Initializes a new instance of the Lazy(T) class. When lazy initialization occurs, the default constructor of the target type is used. | |
Create(T)(Boolean) | Initializes a new instance of the Lazy(T) class. When lazy initialization occurs, the default constructor of the target type is used. | |
Create(T)(Func(T)) | Initializes a new instance of the Lazy(T) class. When lazy initialization occurs, the default constructor of the target type is used. | |
Create(T)(LazyThreadSafetyMode) | Initializes a new instance of the Lazy(T) class. When lazy initialization occurs, the default constructor of the target type is used. | |
Create(T)(Func(T), Boolean) | Initializes a new instance of the Lazy(T) class. When lazy initialization occurs, the default constructor of the target type is used. | |
Create(T)(Func(T), LazyThreadSafetyMode) | Initializes a new instance of the Lazy(T) class. When lazy initialization occurs, the default constructor of the target type is used. |