示例#1
0
 /// <summary>
 /// </summary>
 public PerfTestRun(double value)
 {
     this.value = value;
     this.results = new PerfResultCollection();
     this.failedResults = new PerfFailedResultCollection();
 }
示例#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);
 }
示例#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);
     }
 }
示例#4
0
 public Enumerator(PerfResultCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }