ThreadSafeObservableCollection

Ecng.Xaml

Thread-safe observable collection that marshals notifications to a specified dispatcher.

Inherits: DispatcherObservableCollection<T>

Constructors

ThreadSafeObservableCollection
public ThreadSafeObservableCollection(IListEx<TItem> items)
threadSafeObservableCollection = ThreadSafeObservableCollection(items)

Initializes a new instance using the global UI dispatcher and the provided backing list.

ThreadSafeObservableCollection
public ThreadSafeObservableCollection(IDispatcher dispatcher, IListEx<TItem> items)
threadSafeObservableCollection = ThreadSafeObservableCollection(dispatcher, items)

Initializes a new instance using the specified dispatcher and backing list.