Пример #1
0
 public bool MoveNext()
 {
     if (this._index < this._collection.Count - 1)
     {
         this._index          = this._index + 1;
         this._currentElement = this._collection[this._index];
         return(true);
     }
     this._index = this._collection.Count;
     return(false);
 }
Пример #2
0
 public void Reset()
 {
     this._index          = -1;
     this._currentElement = (ItemRef)null;
 }
Пример #3
0
 public void Insert(int index, ItemRef value)
 {
     this.List.Insert(index, (object)value);
 }
Пример #4
0
 public void Remove(ItemRef value)
 {
     this.List.Remove((object)value);
 }
Пример #5
0
 public int IndexOf(ItemRef value)
 {
     return(this.List.IndexOf((object)value));
 }
Пример #6
0
 public bool Contains(ItemRef value)
 {
     return(this.List.Contains((object)value));
 }
Пример #7
0
 public int Add(ItemRef value)
 {
     return(this.List.Add((object)value));
 }