Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
QueueDebugView.cs
Go to the documentation of this file.
1
using
System.Diagnostics
;
2
3
namespace
System.Collections.Generic
;
4
5
internal
sealed
class
QueueDebugView
<T>
6
{
7
private
readonly
Queue<T>
_queue
;
8
9
[
DebuggerBrowsable
(
DebuggerBrowsableState
.RootHidden)]
10
public
T[] Items =>
_queue
.ToArray();
11
12
public
QueueDebugView
(
Queue<T>
queue
)
13
{
14
if
(
queue
==
null
)
15
{
16
throw
new
ArgumentNullException
(
"queue"
);
17
}
18
_queue
=
queue
;
19
}
20
}
System.ArgumentNullException
Definition
ArgumentNullException.cs:10
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Collections.Generic.QueueDebugView._queue
readonly Queue< T > _queue
Definition
QueueDebugView.cs:7
System.Collections.Generic.QueueDebugView.QueueDebugView
QueueDebugView(Queue< T > queue)
Definition
QueueDebugView.cs:12
System.Collections.Generic.QueueDebugView
Definition
QueueDebugView.cs:6
System.Collections.Generic
Definition
IHashKeyCollection.cs:1
System.Diagnostics.DebuggerBrowsableState
DebuggerBrowsableState
Definition
DebuggerBrowsableState.cs:4
System.Diagnostics
Definition
AggregationManager.cs:6
source
System.Private.CoreLib
System.Collections.Generic
QueueDebugView.cs
Generated by
1.10.0