Lazy<T,TMetadata> Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a lazy indirect reference to an object and its associated metadata for use by the Managed Extensibility Framework.
generic <typename T, typename TMetadata>
public ref class Lazy : Lazy<T>
public class Lazy<T,TMetadata> : Lazy<T>
[System.Serializable]
public class Lazy<T,TMetadata> : Lazy<T>
type Lazy<'T, 'Metadata> = class
inherit Lazy<'T>
[<System.Serializable>]
type Lazy<'T, 'Metadata> = class
inherit Lazy<'T>
Public Class Lazy(Of T, TMetadata)
Inherits Lazy(Of T)
- T
The type of the object referenced.
- TMetadata
The type of the metadata.
- Inheritance
- Attributes
Lazy<T,TMetadata>(Func<T>, TMetadata, Boolean) |
Initializes a new instance of the Lazy<T,TMetadata> class with the specified metadata and thread safety value that uses the specified function to get the referenced object. |
Lazy<T,TMetadata>(Func<T>, TMetadata, Lazy |
Initializes a new instance of the Lazy<T,TMetadata> class with the specified metadata and thread synchronization mode that uses the specified function to get the referenced object. |
Lazy<T,TMetadata>(Func<T>, TMetadata) |
Initializes a new instance of the Lazy<T,TMetadata> class with the specified metadata that uses the specified function to get the referenced object. |
Lazy<T,TMetadata>(TMetadata, Boolean) |
Initializes a new instance of the Lazy<T,TMetadata> class with the specified metadata and thread safety value. |
Lazy<T,TMetadata>(TMetadata, Lazy |
Initializes a new instance of the Lazy<T,TMetadata> class with the specified metadata and thread synchronization mode. |
Lazy<T,TMetadata>(TMetadata) |
Initializes a new instance of the Lazy<T,TMetadata> class with the specified metadata. |
Is |
Gets a value that indicates whether a value has been created for this Lazy<T> instance. (Inherited from Lazy<T>) |
Metadata |
Gets the metadata associated with the referenced object. |
Value |
Gets the lazily initialized value of the current Lazy<T> instance. (Inherited from Lazy<T>) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Creates and returns a string representation of the Value property for this instance. (Inherited from Lazy<T>) |
製品 | バージョン |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 2.0, 2.1 |
UWP | 10.0 |
.NET に関するフィードバック
.NET はオープンソース プロジェクトです。 フィードバックを提供するにはリンクを選択します。