[]
        
(Showing Draft Content)

C1.Schedule.C1ObservableKeyedCollection-2

C1ObservableKeyedCollection<TKey, TItem> Class

The C1ObservableCollection<T> is the base class for all KeyedCollection<TKey, TItem> derived collections. Supports notification.

Inheritance
Collection<TItem>
KeyedCollection<TKey, TItem>
C1ObservableKeyedCollection<TKey, TItem>
Namespace: C1.Schedule
Assembly: C1.ScheduleCore.dll
Syntax
public abstract class C1ObservableKeyedCollection<TKey, TItem> : KeyedCollection<TKey, TItem>, IList<TItem>, ICollection<TItem>, IList, ICollection, IReadOnlyList<TItem>, IReadOnlyCollection<TItem>, IEnumerable<TItem>, IEnumerable, INotifyCollectionChanged
Type Parameters
Name Description
TKey

The type of keys in the collection.

TItem

The type of objects to keep in the collection.

Constructors

Name Description
C1ObservableKeyedCollection()

Initializes a new instance of the C1ObservableKeyedCollection<TKey, TItem> class.

C1ObservableKeyedCollection(IEqualityComparer<TKey>)

Initializes a new instance of the C1ObservableKeyedCollection<TKey, TItem> class.

C1ObservableKeyedCollection(IEqualityComparer<TKey>, int)

Methods

Name Description
ClearItems()
InsertItem(int, TItem)
OnCollectionChanged(NotifyCollectionChangedEventArgs)
RemoveItem(int)
SetItem(int, TItem)