Ejemplo n.º 1
0
 /// <summary>
 /// Advances the enumerator to the next queue of the enumeration, if one is currently available.
 /// </summary>
 /// <returns>true, if the enumerator was succesfully advanced to the next queue; false, if the enumerator has reached the end of the enumeration.</returns>
 public bool MoveNext()
 {
     if ((_index < (_collection.Count - 1)))
     {
         _index          = (_index + 1);
         _currentElement = this._collection[_index];
         return(true);
     }
     _index = _collection.Count;
     return(false);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Advances the enumerator to the next queue of the enumeration, if one is currently available.
 /// </summary>
 /// <returns>true, if the enumerator was succesfully advanced to the next queue; false, if the enumerator has reached the end of the enumeration.</returns>
 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);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Advances the enumerator to the next queue of the enumeration, if one is currently available.
 /// </summary>
 /// <returns>true, if the enumerator was succesfully advanced to the next queue; false, if the enumerator has reached the end of the enumeration.</returns>
 public bool MoveNext()
 {
     if ((_index 
                 < (_collection.Count - 1)))
     {
         _index = (_index + 1);
         _currentElement = this._collection[_index];
         return true;
     }
     _index = _collection.Count;
     return false;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Reset the cursor, so it points to the beginning of the enumerator.
 /// </summary>
 public void Reset()
 {
     _index = -1;
     _currentElement = null;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Insert a Server.Engines.Reports.ItemValue instance into this collection at a specified index.
 /// </summary>
 /// <param name="index">Zero-based index.</param>
 /// <param name="value">The Server.Engines.Reports.ItemValue instance to insert.</param>
 public void Insert(int index, Server.Engines.Reports.ItemValue value)
 {
     this.List.Insert(index, value);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Removes a specified Server.Engines.Reports.ItemValue instance from this collection.
 /// </summary>
 /// <param name="value">The Server.Engines.Reports.ItemValue instance to remove.</param>
 public void Remove(Server.Engines.Reports.ItemValue value)
 {
     this.List.Remove(value);
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Retrieve the index a specified Server.Engines.Reports.ItemValue instance is in this collection.
 /// </summary>
 /// <param name="value">Server.Engines.Reports.ItemValue instance to find.</param>
 /// <returns>The zero-based index of the specified Server.Engines.Reports.ItemValue instance. If the object is not found, the return value is -1.</returns>
 public int IndexOf(Server.Engines.Reports.ItemValue value)
 {
     return(this.List.IndexOf(value));
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Determines whether a specified Server.Engines.Reports.ItemValue instance is in this collection.
 /// </summary>
 /// <param name="value">Server.Engines.Reports.ItemValue instance to search for.</param>
 /// <returns>True if the Server.Engines.Reports.ItemValue instance is in the collection; otherwise false.</returns>
 public bool Contains(Server.Engines.Reports.ItemValue value)
 {
     return(this.List.Contains(value));
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Append a Server.Engines.Reports.ItemValue entry to this collection.
 /// </summary>
 /// <param name="value">Server.Engines.Reports.ItemValue instance.</param>
 /// <returns>The position into which the new element was inserted.</returns>
 public int Add(Server.Engines.Reports.ItemValue value)
 {
     return(this.List.Add(value));
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Reset the cursor, so it points to the beginning of the enumerator.
 /// </summary>
 public void Reset()
 {
     _index          = -1;
     _currentElement = null;
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Reset the cursor, so it points to the beginning of the enumerator.
 /// </summary>
 public void Reset()
 {
     this._index = -1;
     this._currentElement = null;
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Advances the enumerator to the next queue of the enumeration, if one is currently available.
 /// </summary>
 /// <returns>true, if the enumerator was succesfully advanced to the next queue; false, if the enumerator has reached the end of the enumeration.</returns>
 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;
 }
Ejemplo n.º 13
0
 /// <summary>
 /// Reset the cursor, so it points to the beginning of the enumerator.
 /// </summary>
 public void Reset()
 {
     this._index          = -1;
     this._currentElement = null;
 }