[]
        
(Showing Draft Content)

C1.Schedule.AppointmentList

AppointmentList Class

The AppointmentList is a sortable collection of Appointment objects.

Inheritance
AppointmentList
Namespace: C1.Schedule
Assembly: C1.ScheduleCore.dll
Syntax
public class AppointmentList : Collection<Appointment>, IList<Appointment>, ICollection<Appointment>, IList, ICollection, IReadOnlyList<Appointment>, IReadOnlyCollection<Appointment>, IEnumerable<Appointment>, IEnumerable
Remarks

The AppointmentList is not guaranteed to be sorted. You must sort the AppointmentList before performing operations that require the AppointmentList to be sorted.

Constructors

Name Description
AppointmentList(AppointmentCollection)

Initializes the new instance of the AppointmentList class.

Methods

Name Description
Sort()

Sorts the elements in the entire AppointmentList using the default comparer (by the Appointment.Start value).

Sort(IComparer<Appointment>)

Sorts the elements in the entire AppointmentList using the specified comparer.

Sort(Comparison<Appointment>)

Sorts the elements in the entire AppointmentList using the specified System.Comparison.

Sort(int, int, IComparer<Appointment>)

Sorts the elements in a range of elements in AppointmentList using the specified comparer.