internal void Add(BlockHistoryObject incoming) { _collectionArray[_currentPosition] = incoming; _currentPosition++; if (_currentPosition == 100) { _currentPosition = 0; _isFull = true; } }
internal BlockHistoryObjectCollectionEnumerator(BlockHistoryObject[] bho, int bhoPosition, int count) { _collection = bho; _startPosition = bhoPosition - 1; //We have to start at -1 _cursor = _startPosition; _maxCount = count; }