[]
        
(Showing Draft Content)

C1.Schedule.BaseList-1

BaseList<T> Class

The BaseList<T> is a base generic class for all lists in C1Schedule's object model. Only objects existing in the owning collection can be added to this list.

Namespace: C1.Schedule
Assembly: C1.ScheduleCore.dll
Syntax
public class BaseList<T> : C1ObservableCollection<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged where T : BasePersistableObject
Type Parameters
Name Description
T

The type of the objects which will be stored in the list. It should be derived from the BasePersistableObject class.

Properties

Name Description
Owner

Gets the reference to the owning collection.

Methods

Name Description
InsertItem(int, T)

Overrides default behavior of Collection. Prevents from adding items non-existent in the parent collection.

IsEquals(BaseList<T>, BaseList<T>)

Compares 2 lists for their content equality.

SetItem(int, T)

Overrides default behavior of Collection. Prevents from adding items non-existent in the parent collection.

ToString()