Skip to content

T_CodeJam_Lazy

andrewvk edited this page Jun 23, 2016 · 5 revisions

Lazy Class

[This is preliminary documentation and is subject to change.]

Helper methods for Lazy(T) class.

Inheritance Hierarchy

System.Object
  CodeJam.Lazy
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public static class Lazy

VB

Public NotInheritable Class Lazy

F#

[<AbstractClassAttribute>]
[<SealedAttribute>]
type Lazy =  class end

Methods

 

Name Description
Public methodStatic member Create(T)() Initializes a new instance of the Lazy(T) class. When lazy initialization occurs, the default constructor of the target type is used.
Public methodStatic member 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.
Public methodStatic member 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.
Public methodStatic member 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.
Public methodStatic member 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.
Public methodStatic member 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.
  Back to Top

See Also

Reference

CodeJam Namespace

Clone this wiki locally