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

◆ Initialize()

void System.Collections.Concurrent.BlockingCollection< T >.Initialize ( IProducerConsumerCollection< T > collection,
int boundedCapacity,
int collectionCount )
inlineprivate

Definition at line 129 of file BlockingCollection.cs.

130 {
133 _isDisposed = false;
136 if (boundedCapacity == -1)
137 {
138 _freeNodes = null;
139 }
140 else
141 {
143 }
145 }

References System.Collections.Concurrent.BlockingCollection< T >._boundedCapacity, System.Collections.Concurrent.BlockingCollection< T >._collection, System.Collections.Concurrent.BlockingCollection< T >._consumersCancellationTokenSource, System.Collections.Concurrent.BlockingCollection< T >._freeNodes, System.Collections.Concurrent.BlockingCollection< T >._isDisposed, System.Collections.Concurrent.BlockingCollection< T >._occupiedNodes, System.Collections.Concurrent.BlockingCollection< T >._producersCancellationTokenSource, and System.collection.

Referenced by System.Collections.Concurrent.BlockingCollection< T >.BlockingCollection(), and System.Collections.Concurrent.BlockingCollection< T >.BlockingCollection().