[]
The StatusCollection is a collection of Status objects which represents all available statuses in C1Schedule object model. By default it contains the set of predefined statuses.
public class StatusCollection : BaseCollection<Status>, IList<Status>, ICollection<Status>, IList, ICollection, IReadOnlyList<Status>, IReadOnlyCollection<Status>, IEnumerable<Status>, IEnumerable, INotifyCollectionChanged
Name | Description |
---|---|
StatusCollection() | Initializes a new instance of the StatusCollection class. |
Name | Description |
---|---|
this[StatusTypeEnum] | Gets the Status object specified by the appointment status type. For custom statuses returns the first occurrence. If there is no such Status object in the collection, returns null. |
Name | Description |
---|---|
LoadDefaults() | Restores the collection to its default state. |
RefreshDefaults() | Refreshes default values honoring current culture settings. |