Example #1
0
 /// <summary>
 /// Adds the elements of another AppointmentCollection to the end of this AppointmentCollection.
 /// </summary>
 /// <param name="items">
 /// The AppointmentCollection whose elements are to be added to the end of this AppointmentCollection.
 /// </param>
 public virtual void AddRange(AppointmentCollection items)
 {
     foreach (IAppointment item in items)
     {
         this.List.Add(item);
     }
 }
Example #2
0
 public Enumerator(AppointmentCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the AppointmentCollection class, containing elements
 /// copied from another instance of AppointmentCollection
 /// </summary>
 /// <param name="items">
 /// The AppointmentCollection whose elements are to be added to the new AppointmentCollection.
 /// </param>
 public AppointmentCollection(AppointmentCollection items)
 {
     this.AddRange(items);
 }