Class ObservableKeyedCollection
Last update: 03.07.2024
Class ObservableKeyedCollection
Namespace: VM.Collections
Assembly: VM.dll
public class ObservableKeyedCollection<TKey, TItem> : ObservableKeyedCollectionBase<TKey, TItem>
Type Parameters
TKey
TItem
Inheritance
object ← Collection<TItem> ← KeyedCollection<TKey, TItem> ← ObservableKeyedCollectionBase<TKey, TItem> ← ObservableKeyedCollection<TKey, TItem>
Inherited Members
ObservableKeyedCollectionBase<TKey, TItem>.AddRange(IEnumerable<TItem>), ObservableKeyedCollectionBase<TKey, TItem>.TryGetValue(TKey, out TItem), ObservableKeyedCollectionBase<TKey, TItem>.ClearItems(), ObservableKeyedCollectionBase<TKey, TItem>.InsertItem(int, TItem), ObservableKeyedCollectionBase<TKey, TItem>.OnCollectionChanged(NotifyCollectionChangedEventArgs), ObservableKeyedCollectionBase<TKey, TItem>.RemoveItem(int), ObservableKeyedCollectionBase<TKey, TItem>.SetItem(int, TItem), ObservableKeyedCollectionBase<TKey, TItem>.<>OnPropertyChanged(PropertyChangedEventArgs), ObservableKeyedCollectionBase<TKey, TItem>.CollectionChanged, ObservableKeyedCollectionBase<TKey, TItem>.PropertyChanged
Constructors
ObservableKeyedCollection(Func<TItem, TKey>)
public ObservableKeyedCollection(Func<TItem, TKey> getKeyForItem)
Parameters
getKeyForItem
Func<TItem, TKey>
Methods
GetKeyForItem(TItem)
protected override TKey GetKeyForItem(TItem item)
Parameters
item
TItem
Returns
TKey