/// <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); } }
public Enumerator(AppointmentCollection collection) { this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator(); }
/// <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); }