internal BlockHistoryObjectCollectionEnumerator(BlockHistoryObject[] bho, int bhoPosition, int count) { collection = bho; startPosition = bhoPosition - 1; //We have to start at -1 Cursor = startPosition; MaxCount = count; }
internal void Add(BlockHistoryObject incoming) { collectionArray[currentPosition] = incoming; currentPosition++; if (currentPosition == 100) { currentPosition = 0; isFull = true; } }