Skip to main content

AppointmentCollection Members

A collection of appointments.

Constructors

Name Description
AppointmentCollection() Initializes a new instance of the AppointmentCollection class with the default settings.
AppointmentCollection(ISchedulerStorageBase) Initializes a new instance of the AppointmentCollection class with the specified scheduler storage.

Properties

Name Description
Capacity Gets or sets the number of elements that the DXCollectionBase<T> can contain. Inherited from DXCollectionBase<T>.
Count Gets the number of elements contained in the DXCollectionBase<T> instance. Inherited from DXCollectionBase<T>.
IsUpdateLocked Gets whether the collection has been locked for updating. Inherited from NotificationCollection<T>.
Item[Int32] Provides indexed access to individual items in the collection. Inherited from DXCollection<T>.
Storage Provides access to the storage object which holds the appointment collection.
UniquenessProviderType Gets or sets the type of an object, which provides uniqueness for the current DXCollectionBase<T>. Inherited from DXCollectionBase<T>.

Methods

Name Description
Add(Appointment) Appends the specified Appointment object to the current collection.
AddRange(ICollection) Adds a collection of appointments to the end of the collection.
AreIntersecting(Appointment, Appointment) static Checks if the two specified appointments intersect.
BeginUpdate() Locks the NotificationCollection<T>, preventing change notifications (and visual updates) from being raised by the object until the EndUpdate or CancelUpdate method is called. Inherited from NotificationCollection<T>.
CalcPatternInterval(Appointment) static Returns the time interval that encompasses occurrences of the specified pattern appointment.
CancelUpdate() Unlocks the NotificationCollection<T> object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from NotificationCollection<T>.
Clear() Removes all objects from the DXCollectionBase<T> instance. Inherited from DXCollectionBase<T>.
CopyTo(T[], Int32) Copies all the elements from the DXCollectionBase<T> instance to a one-dimensional array, starting at the specified index of the target array. Inherited from DXCollectionBase<T>.
EndUpdate() Unlocks the NotificationCollection<T> object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from NotificationCollection<T>.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Find(Predicate<T>) Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire DXCollectionBase<T>. Inherited from DXCollectionBase<T>.
FindAll(Predicate<Appointment>) Finds all elements with a predicate match and returns them in a list collection. Inherited from AppointmentBaseCollection.
ForEach(Action<T>) Performs the specified action on each element of the DXCollectionBase<T>. Inherited from DXCollectionBase<T>.
GetAppointmentById(Object) Gets the appointment by its identifier.
GetAppointments(TimeInterval) Retrieves the collection of appointments that are in the specified time interval. Inherited from AppointmentBaseCollection.
GetAppointmentsFromSortedCollection(AppointmentBaseCollection, TimeInterval) static Retrieves the collection of appointments that are in the specified time interval from the specified collection of appointments sorted by start dates. Inherited from AppointmentBaseCollection.
GetConflicts(Appointment, TimeInterval) Obsolete. Returns a collection of appointments which overlap the specified appointment within the specified time interval and use the same resource.
GetEnumerator() Returns an enumerator that iterates through the DXCollectionBase<T> instance. Inherited from DXCollectionBase<T>.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Insert(Int32, T) Inserts the specified element into the collection at the specified position. Inherited from DXCollectionBase<T>.
IsIntersecting(TimeInterval, Resource) Obsolete. Obsolete. Always returns false.
IsNewAppointment(Appointment) Determines whether the appointment is new, so that it is not an occurrence, and the current AppointmentCollection collection does not contain it.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReadXml(Stream) Reads the settings of the appointments from the specified stream.
ReadXml(String) Reads the settings of the appointments from the specified XML file.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Remove(T) Removes the specified element from the collection. Inherited from DXCollectionBase<T>.
RemoveAt(Int32) Removes the element at the specified index of the DXCollectionBase<T> instance. Inherited from DXCollectionBase<T>.
ToArray() Copies the DXCollectionBase<T> elements to a new array. Inherited from DXCollectionBase<T>.
ToString() Returns a string that represents the current object. Inherited from Object.
WriteXml(Stream) Saves all the appointments within the collection to the specified stream.
WriteXml(String) Saves all the appointments within the collection to an XML file.

Events

Name Description
CollectionChanged Occurs when the collection is changed. Inherited from NotificationCollection<T>.
CollectionChanging This event occurs when the collection is about to change. Inherited from NotificationCollection<T>.
See Also