Пример #1
0
 public EntryEnumerator(ItemArray items, int state, bool anyBit)
 {
     this.items  = items;
     this.state  = state;
     this.anyBit = anyBit;
     version     = items.version;
     current     = -1;
 }
 /// <summary>
 ///  Creates a new enumerator that will enumerate over the given state.
 /// </summary>
 public EntryEnumerator(ItemArray items, int state, bool anyBit)
 {
     _items   = items;
     _state   = state;
     _anyBit  = anyBit;
     _version = items.Version;
     _current = -1;
 }