LazyT Class |
Namespace: Archon.SwissArmyLib.Utils
public class Lazy<T>
The LazyT type exposes the following members.
Name | Description | |
---|---|---|
LazyT |
Initializes a new instance of the LazyT class.
The default constructor will be used to create the lazily initialized value.
| |
LazyT(FuncT) |
Initializes a new instance of the LazyT class.
The specified initialization function will be used.
|
Name | Description | |
---|---|---|
IsValueCreated |
Gets whether the value has been initialized.
| |
Value |
Gets the lazily initialized value of this LazyT instance.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Creates a string representation of Value property for this instance.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
(LazyT to T) |
Explicitly casts the lazy to its lazily initialized value.
|