Terraria
v1.4.4.9
Terraria source code documentation
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Events
_
a
c
d
e
f
i
l
m
o
p
r
s
t
u
w
Files
File List
File Members
All
Enumerations
Macros
►
Terraria
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Events
Macros
Loading...
Searching...
No Matches
◆
GetMode()
[1/2]
LazyThreadSafetyMode
System.LazyHelper.GetMode
(
)
inline
private
Definition at line
51
of file
LazyHelper.cs
.
52
{
53
switch
(State)
54
{
55
case
LazyState
.NoneViaConstructor:
56
case
LazyState
.NoneViaFactory:
57
case
LazyState
.NoneException:
58
return
LazyThreadSafetyMode
.None;
59
case
LazyState
.PublicationOnlyViaConstructor:
60
case
LazyState
.PublicationOnlyViaFactory:
61
case
LazyState
.PublicationOnlyWait:
62
case
LazyState
.PublicationOnlyException:
63
return
LazyThreadSafetyMode
.PublicationOnly;
64
case
LazyState
.ExecutionAndPublicationViaConstructor:
65
case
LazyState
.ExecutionAndPublicationViaFactory:
66
case
LazyState
.ExecutionAndPublicationException:
67
return
LazyThreadSafetyMode
.ExecutionAndPublication;
68
default
:
69
return
LazyThreadSafetyMode
.None;
70
}
71
}
System.Threading.LazyThreadSafetyMode
LazyThreadSafetyMode
Definition
LazyThreadSafetyMode.cs:4
System.LazyState
LazyState
Definition
LazyState.cs:4
System
LazyHelper
Generated by
1.10.0