Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Value

T System.Lazy< T, TMetadata >.Value
get

Definition at line 36 of file Lazy.cs.

37 {
38 get
39 {
40 if (_state != null)
41 {
42 return CreateValue();
43 }
44 return _value;
45 }
46 }
T CreateValue()
Definition Lazy.cs:180
volatile LazyHelper _state
Definition Lazy.cs:11
T _value
Definition Lazy.cs:15

Referenced by System.Lazy< T, TMetadata >.CreateValue(), System.ComponentModel.DataAnnotations.CustomValidationAttribute.ThrowIfAttributeNotWellFormed(), and System.Lazy< T, TMetadata >.ToString().