Beispiel #1
0
 internal Enumerator(QueueX <T> q)
 {
     _q              = q;
     _version        = q._version;
     _index          = -1;
     _currentElement = default;
 }
Beispiel #2
0
        public QueueDebugView(QueueX <T> queue)
        {
            if (queue == null)
            {
                throw new ArgumentNullException(nameof(queue));
            }

            _queue = queue;
        }