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