Esempio n. 1
0
 /// <summary>
 /// </summary>
 public PerfTestRun(double value)
 {
     this.value = value;
     this.results = new PerfResultCollection();
     this.failedResults = new PerfFailedResultCollection();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the PerfResultCollection class, containing elements
 /// copied from another instance of PerfResultCollection
 /// </summary>
 /// <param name="items">
 /// The PerfResultCollection whose elements are to be added to the new PerfResultCollection.
 /// </param>
 public PerfResultCollection(PerfResultCollection items)
 {
     this.AddRange(items);
 }
Esempio n. 3
0
 /// <summary>
 /// Adds the elements of another PerfResultCollection to the end of this PerfResultCollection.
 /// </summary>
 /// <param name="items">
 /// The PerfResultCollection whose elements are to be added to the end of this PerfResultCollection.
 /// </param>
 public virtual void AddRange(PerfResultCollection items)
 {
     foreach (PerfResult item in items)
     {
         this.List.Add(item);
     }
 }
Esempio n. 4
0
 public Enumerator(PerfResultCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }