Ejemplo n.º 1
0
 public IndexedConcurrentQueue(CancellationToken cancellationToken, int maxLength = short.MaxValue, bool verboseOutput = false)
     : base(cancellationToken, maxLength)
 {
     _startIndex   = 0;
     _nextIndex    = _startIndex + 1;
     VerboseOutput = verboseOutput;
 }
Ejemplo n.º 2
0
 public LimitedCollection(CancellationToken cancellationToken, int maxLength)
 {
     MaxLength         = maxLength;
     CancellationToken = cancellationToken;
 }
Ejemplo n.º 3
0
 public ConcurrentQueue(CancellationToken cancellationToken, int maxLength = short.MaxValue, bool verboseOutput = false)
     : base(cancellationToken, maxLength)
 {
     VerboseOutput = verboseOutput;
 }