[]
        
(Showing Draft Content)

C1.Schedule.StatusCollection

StatusCollection Class

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.

Namespace: C1.Schedule
Assembly: C1.ScheduleCore.dll
Syntax
public class StatusCollection : BaseCollection<Status>, IList<Status>, ICollection<Status>, IList, ICollection, IReadOnlyList<Status>, IReadOnlyCollection<Status>, IEnumerable<Status>, IEnumerable, INotifyCollectionChanged

Constructors

Name Description
StatusCollection()

Initializes a new instance of the StatusCollection class.

Properties

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.

Methods

Name Description
LoadDefaults()

Restores the collection to its default state.

RefreshDefaults()

Refreshes default values honoring current culture settings.