public SegmentEnumerator(AsyncQueue <T> queue) { _queue = queue; Current = default(Segment); _readFirstSegment = false; }
public Segment(AsyncQueue <T> queue) { _queue = queue; }
public Enumerator(AsyncQueue <T> queue) { _queue = queue; _innerEnumerator = new SelectManyStructEnumererator <Segment, SegmentEnumerator, T, Segment.Enumerator>(new SegmentEnumerator(queue), segment => segment.GetEnumerator()); }