Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
IProducerConsumerCollectionDebugView.cs
Go to the documentation of this file.
1
using
System.Diagnostics
;
2
3
namespace
System.Collections.Concurrent
;
4
5
internal
sealed
class
IProducerConsumerCollectionDebugView<T>
6
{
7
private
readonly
IProducerConsumerCollection<T>
_collection
;
8
9
[DebuggerBrowsable(
DebuggerBrowsableState
.RootHidden)]
10
public
T[] Items =>
_collection
.ToArray();
11
12
public
IProducerConsumerCollectionDebugView
(
IProducerConsumerCollection<T>
collection
)
13
{
14
_collection
=
collection
??
throw
new
ArgumentNullException
(
"collection"
);
15
}
16
}
System.ArgumentNullException
Definition
ArgumentNullException.cs:10
System.Collections.Concurrent.IProducerConsumerCollectionDebugView._collection
readonly IProducerConsumerCollection< T > _collection
Definition
IProducerConsumerCollectionDebugView.cs:7
System.Collections.Concurrent.IProducerConsumerCollectionDebugView.IProducerConsumerCollectionDebugView
IProducerConsumerCollectionDebugView(IProducerConsumerCollection< T > collection)
Definition
IProducerConsumerCollectionDebugView.cs:12
System.Collections.Concurrent.IProducerConsumerCollection
Definition
IProducerConsumerCollection.cs:7
System.Collections.Concurrent
Definition
BlockingCollection.cs:8
System.Diagnostics.DebuggerBrowsableState
DebuggerBrowsableState
Definition
DebuggerBrowsableState.cs:4
System.Diagnostics
Definition
AggregationManager.cs:6
System.ExceptionArgument.collection
@ collection
source
System.Collections.Concurrent
System.Collections.Concurrent
IProducerConsumerCollectionDebugView.cs
Generated by
1.10.0