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