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

◆ BlockingCollection() [3/4]

Definition at line 98 of file BlockingCollection.cs.

99 {
100 if (boundedCapacity < 1)
101 {
102 throw new ArgumentOutOfRangeException("boundedCapacity", boundedCapacity, System.SR.BlockingCollection_ctor_BoundedCapacityRange);
103 }
104 if (collection == null)
105 {
106 throw new ArgumentNullException("collection");
107 }
108 int count = collection.Count;
110 {
112 }
114 }
void Initialize(IProducerConsumerCollection< T > collection, int boundedCapacity, int collectionCount)
static string BlockingCollection_ctor_BoundedCapacityRange
Definition SR.cs:34
static string BlockingCollection_ctor_CountMoreThanCapacity
Definition SR.cs:36
Definition SR.cs:7

References System.SR.BlockingCollection_ctor_BoundedCapacityRange, System.SR.BlockingCollection_ctor_CountMoreThanCapacity, System.collection, System.count, and System.Collections.Concurrent.BlockingCollection< T >.Initialize().