Qhta.ObservableObjects
4.3.0
dotnet add package Qhta.ObservableObjects --version 4.3.0
NuGet\Install-Package Qhta.ObservableObjects -Version 4.3.0
<PackageReference Include="Qhta.ObservableObjects" Version="4.3.0" />
<PackageVersion Include="Qhta.ObservableObjects" Version="4.3.0" />
<PackageReference Include="Qhta.ObservableObjects" />
paket add Qhta.ObservableObjects --version 4.3.0
#r "nuget: Qhta.ObservableObjects, 4.3.0"
#:package Qhta.ObservableObjects@4.3.0
#addin nuget:?package=Qhta.ObservableObjects&version=4.3.0
#tool nuget:?package=Qhta.ObservableObjects&version=4.3.0
A package of classes that use Dispatcher to invoke back-threaded methods in main thread when implementing interfaces INotifyPropertyChanged and INotifyCollectionChanged.
Classes are:
ObservableObject - a class that implements INotifyPropertyChanged interface. It invokes Dispatcher on PropertyChanged event. It defines a static CommonDispatcher property which is of IDispatcherBridge interface type. To use it properly, an instance of a class implementing this interface must be created in main application thread (GUI thread) and assigned to this property. This setting can be overriden in any instance by set-up its Dispatcher property.
ObservableCollectionObject - an abstract base class for derived collection classes. It itself derives from ObservableObject class. It implements INotifyCollectionChanged interface by defining CollectionChanged event and a protected HandleCollectionChangedEvent method.
ObservableList{TValue} - a dispatched version ObservableCollection{TValue}. It derives from ObservableCollectionObject class to notify collection changes. It uses ImmutableList class to implement items. It also implements List{TValue} operations, like AddRange and Sort.
ObservableDictionary{TKey, TValue} - an observable version of Dictionary{TKey, TValue}. It derives from ObservableCollectionObject class to notify collection changes. It uses ImmutableDictionary class to implement items. Its default enumerator moves on Values.
The package also defines an interface IDispatcherBridge with Invoke (synchronous) and BeginInvoke (asynchronous) operations which should be implemented by using Dispatcher object (in WPF applications).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net8.0-windows7.0 is compatible. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net9.0-windows7.0 is compatible. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- System.Collections.Immutable (>= 9.0.7)
-
net8.0-windows7.0
- System.Collections.Immutable (>= 9.0.7)
-
net9.0
- System.Collections.Immutable (>= 9.0.7)
-
net9.0-windows7.0
- System.Collections.Immutable (>= 9.0.7)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Qhta.ObservableObjects:
| Package | Downloads |
|---|---|
|
Qhta.MVVM
A simple MVVM framework which enables worker threads to invoke UI notification via ObservableObjects. |
|
|
Qhta.ObservableViewModels
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.