Qhta.ObservableObjects 4.3.0

dotnet add package Qhta.ObservableObjects --version 4.3.0
                    
NuGet\Install-Package Qhta.ObservableObjects -Version 4.3.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Qhta.ObservableObjects" Version="4.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Qhta.ObservableObjects" Version="4.3.0" />
                    
Directory.Packages.props
<PackageReference Include="Qhta.ObservableObjects" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Qhta.ObservableObjects --version 4.3.0
                    
#r "nuget: Qhta.ObservableObjects, 4.3.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Qhta.ObservableObjects@4.3.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Qhta.ObservableObjects&version=4.3.0
                    
Install as a Cake Addin
#tool nuget:?package=Qhta.ObservableObjects&version=4.3.0
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last Updated
4.3.0 300 9/15/2025
1.1.1 753 7/25/2020