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
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Events
Macros
Loading...
Searching...
No Matches
SystemThreadingTasks_FutureDebugView.cs
Go to the documentation of this file.
1
namespace
System.Threading.Tasks
;
2
3
internal
sealed
class
SystemThreadingTasks_FutureDebugView
<
TResult
>
4
{
5
private
readonly
Task<TResult>
m_task
;
6
7
public
TResult
Result
8
{
9
get
10
{
11
if
(
m_task
.Status !=
TaskStatus
.RanToCompletion)
12
{
13
return
default
(
TResult
);
14
}
15
return
m_task
.Result;
16
}
17
}
7
public
TResult
Result
{
…
};
18
19
public
object
AsyncState
=>
m_task
.AsyncState;
20
21
public
TaskCreationOptions
CreationOptions
=>
m_task
.CreationOptions;
22
23
public
Exception
Exception
=>
m_task
.Exception;
24
25
public
int
Id
=>
m_task
.Id;
26
27
public
bool
CancellationPending
28
{
29
get
30
{
31
if
(
m_task
.Status ==
TaskStatus
.WaitingToRun)
32
{
33
return
m_task
.CancellationToken.IsCancellationRequested;
34
}
35
return
false
;
36
}
37
}
27
public
bool
CancellationPending
{
…
};
38
39
public
TaskStatus
Status
=>
m_task
.Status;
40
41
public
SystemThreadingTasks_FutureDebugView
(
Task<TResult>
task
)
42
{
43
m_task
=
task
;
44
}
41
public
SystemThreadingTasks_FutureDebugView
(
Task<TResult>
task
) {
…
}
45
}
3
internal
sealed
class
SystemThreadingTasks_FutureDebugView
<
TResult
> {
…
};
System.Exception
Definition
Exception.cs:15
System.Threading.Tasks.SystemThreadingTasks_FutureDebugView.m_task
readonly Task< TResult > m_task
Definition
SystemThreadingTasks_FutureDebugView.cs:5
System.Threading.Tasks.SystemThreadingTasks_FutureDebugView.SystemThreadingTasks_FutureDebugView
SystemThreadingTasks_FutureDebugView(Task< TResult > task)
Definition
SystemThreadingTasks_FutureDebugView.cs:41
System.Threading.Tasks.SystemThreadingTasks_FutureDebugView.Id
int Id
Definition
SystemThreadingTasks_FutureDebugView.cs:25
System.Threading.Tasks.SystemThreadingTasks_FutureDebugView.AsyncState
object AsyncState
Definition
SystemThreadingTasks_FutureDebugView.cs:19
System.Threading.Tasks.SystemThreadingTasks_FutureDebugView.CreationOptions
TaskCreationOptions CreationOptions
Definition
SystemThreadingTasks_FutureDebugView.cs:21
System.Threading.Tasks.SystemThreadingTasks_FutureDebugView.Status
TaskStatus Status
Definition
SystemThreadingTasks_FutureDebugView.cs:39
System.Threading.Tasks.SystemThreadingTasks_FutureDebugView.Result
TResult Result
Definition
SystemThreadingTasks_FutureDebugView.cs:8
System.Threading.Tasks.SystemThreadingTasks_FutureDebugView.CancellationPending
bool CancellationPending
Definition
SystemThreadingTasks_FutureDebugView.cs:28
System.Threading.Tasks.SystemThreadingTasks_FutureDebugView
Definition
SystemThreadingTasks_FutureDebugView.cs:4
System.Threading.Tasks.Task
Definition
Task.cs:14
TResult
System.Threading.Tasks.TaskCreationOptions
TaskCreationOptions
Definition
TaskCreationOptions.cs:5
System.Threading.Tasks.TaskStatus
TaskStatus
Definition
TaskStatus.cs:4
System.Threading.Tasks
Definition
TaskToApm.cs:3
System.ExceptionArgument.task
@ task
source
System.Private.CoreLib
System.Threading.Tasks
SystemThreadingTasks_FutureDebugView.cs
Generated by
1.10.0