-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_Lazy
Andrew Koryavchenko edited this page Jul 4, 2017
·
5 revisions
Helper methods for Lazy(T) class.
System.Object
CodeJam.Lazy
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.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. |