/// <summary>
 /// Adds the elements of another TestTreePopulatorCollection to the end of this TestTreePopulatorCollection.
 /// </summary>
 /// <param name="items">
 /// The TestTreePopulatorCollection whose elements are to be added to the end of this TestTreePopulatorCollection.
 /// </param>
 public virtual void AddRange(TestTreePopulatorCollection items)
 {
     foreach (TestTreePopulator item in items)
     {
         this.List.Add(item);
     }
 }
Example #2
0
        public override void Dispose()
        {
            base.Dispose();

            this.facade.Clear();
            this.facade = null;
            this.guidNodes = null;
            this.populators = null;
            this.parentNode = null;
        }
Example #3
0
        public override void Dispose()
        {
            base.Dispose();

            this.facade.Clear();
            this.facade     = null;
            this.guidNodes  = null;
            this.populators = null;
            this.parentNode = null;
        }
 /// <summary>
 /// Initializes a new instance of the TestTreePopulatorCollection class, containing elements
 /// copied from another instance of TestTreePopulatorCollection
 /// </summary>
 /// <param name="items">
 /// The TestTreePopulatorCollection whose elements are to be added to the new TestTreePopulatorCollection.
 /// </param>
 public TestTreePopulatorCollection(TestTreePopulatorCollection items)
 {
     this.AddRange(items);
 }
 public Enumerator(TestTreePopulatorCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
 /// <summary>
 /// Initializes a new instance of the TestTreePopulatorCollection class, containing elements
 /// copied from another instance of TestTreePopulatorCollection
 /// </summary>
 /// <param name="items">
 /// The TestTreePopulatorCollection whose elements are to be added to the new TestTreePopulatorCollection.
 /// </param>
 public TestTreePopulatorCollection(TestTreePopulatorCollection items)
 {
     this.AddRange(items);
 }
 public Enumerator(TestTreePopulatorCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
 /// <summary>
 /// Adds the elements of another TestTreePopulatorCollection to the end of this TestTreePopulatorCollection.
 /// </summary>
 /// <param name="items">
 /// The TestTreePopulatorCollection whose elements are to be added to the end of this TestTreePopulatorCollection.
 /// </param>
 public virtual void AddRange(TestTreePopulatorCollection items)
 {
     foreach (TestTreePopulator item in items)
     {
         this.List.Add(item);
     }
 }