Skip to main content

Motion Standalone Postprocessor C# library 2026 R1

Class ObservableKeyedCollection<TKey, TItem\>

Last update: 09.03.2026

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

Connect with Ansys