![]() |
VOOZH | about |
dotnet add package HKW.Utils --version 1.3.16
NuGet\Install-Package HKW.Utils -Version 1.3.16
<PackageReference Include="HKW.Utils" Version="1.3.16" />
<PackageVersion Include="HKW.Utils" Version="1.3.16" />Directory.Packages.props
<PackageReference Include="HKW.Utils" />Project file
paket add HKW.Utils --version 1.3.16
#r "nuget: HKW.Utils, 1.3.16"
#:package HKW.Utils@1.3.16
#addin nuget:?package=HKW.Utils&version=1.3.16Install as a Cake Addin
#tool nuget:?package=HKW.Utils&version=1.3.16Install as a Cake Tool
Utils created by HKW
Provide a variety of observable tools
The base class for all Observable types is ReactiveObject.
You can wrap various types of collections into the ObservableCollection type.
ObservableList
The wrapper can support any list that implements the IList<T> interface.
You can use IListWrapper.BaseList to access the original list.
ObservableListWrapper in addition to providing the INotifyCollectionChanged and INotifyPropertyChanged interfaces, it also supports INotifyListChanging and INotifyListChanged.
var observableList = new ObservableListWrapper<int, List<int>>(new List<int>());
ObservableSet
The wrapper can support any set that implements the ISet<T> interface.
The recommended set type for ObservableSetWrapper is OrderedSet, as it ensures the order of items during set operations. Using the native HashSet may lead to incorrect item order.
You can use ISetWrapper.BaseSet to access the original set.
ObservableSetWrapper to providing the INotifyCollectionChanged and INotifyPropertyChanged interfaces, it also supports INotifySetChanging and INotifySetChanged.
var observableSet = new ObservableSetWrapper<int, HashSet<int>>(new HashSet<int>());
ObservableDictionary
The wrapper can support any dictionary that implements the IDictionary<TKey, TValue> interface.
You can use IDictionaryWrapper.BaseDictionary to access the original dictionary.
ObservableDictionaryWrapper in addition to providing the INotifyCollectionChanged and INotifyPropertyChanged interfaces, it also supports INotifyDictionaryChanging and INotifyDictionaryChanged.
var observableDictionary = new ObservableDictionaryWrapper<int, string, Dictionary<int, string>>(new Dictionary<int, string>());
Some Drawing types that support INotifyPropertyChanged are primarily intended for display purposes, as they may not offer sufficient performance for more intensive applications. These types are useful for scenarios where you need to notify the UI of property changes but do not require high performance, such as in data-binding contexts or simple visualizations.
var point = new ObservablePoint<int>();
var range = new ObservableRange<int>();
var rect = new ObservableRectangle<int>();
var size = new ObservableSize<int>();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on HKW.Utils:
| Package | Downloads |
|---|---|
|
HKW.WPF
A dedicated WPF library providing Collections, TypeExtension, MVVMDialogs, and other features. |
|
|
HKW.TOML
HKW.TOML is TOML reader, writer, deserializer, serializer and generate classes for C#. |
|
|
HKW.ViewModels
Package Description |
|
|
HKW.CommonValueConverters
A common value or multi value converter base. |
|
|
HKW.MVVMDialogs
MVVMDialogs |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.3.16 | 491 | 8/10/2025 |
| 1.3.15 | 793 | 7/22/2025 |
| 1.3.14 | 508 | 7/14/2025 |
| 1.3.13 | 495 | 7/9/2025 |
| 1.3.12 | 429 | 7/9/2025 |
| 1.3.11 | 430 | 7/9/2025 |
| 1.3.10 | 478 | 3/8/2025 |
| 1.3.9 | 431 | 1/20/2025 |
| 1.3.8 | 497 | 12/15/2024 |
| 1.3.7 | 411 | 12/15/2024 |
| 1.3.6 | 421 | 12/13/2024 |
| 1.3.5 | 462 | 12/7/2024 |
| 1.3.4 | 416 | 12/6/2024 |
| 1.3.3 | 428 | 12/6/2024 |
| 1.3.2 | 409 | 12/3/2024 |
| 1.3.1 | 449 | 12/2/2024 |
| 1.3.0 | 393 | 12/2/2024 |
| 1.2.22 | 470 | 4/26/2024 |
| 1.2.21 | 487 | 4/17/2024 |
| 1.2.20 | 427 | 4/15/2024 |