コード例 #1
0
 public IndexedConcurrentQueue(CancellationToken cancellationToken, int maxLength = short.MaxValue, bool verboseOutput = false)
     : base(cancellationToken, maxLength)
 {
     _startIndex   = 0;
     _nextIndex    = _startIndex + 1;
     VerboseOutput = verboseOutput;
 }
コード例 #2
0
 public LimitedCollection(CancellationToken cancellationToken, int maxLength)
 {
     MaxLength         = maxLength;
     CancellationToken = cancellationToken;
 }
コード例 #3
0
ファイル: ConcurrentQueue.cs プロジェクト: nixxa/archiver
 public ConcurrentQueue(CancellationToken cancellationToken, int maxLength = short.MaxValue, bool verboseOutput = false)
     : base(cancellationToken, maxLength)
 {
     VerboseOutput = verboseOutput;
 }