Exemple #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);
 }
Exemple #2
0
 public void Reset()
 {
     this._index          = -1;
     this._currentElement = (ItemRef)null;
 }
Exemple #3
0
 public void Insert(int index, ItemRef value)
 {
     this.List.Insert(index, (object)value);
 }
Exemple #4
0
 public void Remove(ItemRef value)
 {
     this.List.Remove((object)value);
 }
Exemple #5
0
 public int IndexOf(ItemRef value)
 {
     return(this.List.IndexOf((object)value));
 }
Exemple #6
0
 public bool Contains(ItemRef value)
 {
     return(this.List.Contains((object)value));
 }
Exemple #7
0
 public int Add(ItemRef value)
 {
     return(this.List.Add((object)value));
 }