This package includes a .NET MVVM library with helpers such as: - ObservableObject: a base class for objects implementing the INotifyPropertyChanged interface. - ObservableRecipient: a base class for observable objects with support for the IMessenger service. - ObservableValidator: a base class for objects implementing the INotifyDataErrorInfo interface. - RelayCommand: a simple delegate command implementing the ICommand interface. - AsyncRelayCommand: a delegate command supporting asynchronous operations and cancellation. - WeakReferenceMessenger: a messaging system to exchange messages through different loosely-coupled objects. - StrongReferenceMessenger: a high-performance messaging system that trades weak references for speed. - Ioc: a helper class to configure dependency injection service containers.
dotnet add package CommunityToolkit.Mvvm --version 8.4.0-preview3
Install-Package CommunityToolkit.Mvvm -Version 8.4.0-preview3
| 包名 | 版本要求 |
|---|---|
| Microsoft.Bcl.AsyncInterfaces | [8.0.0, ) |
| System.ComponentModel.Annotations | [5.0.0, ) |
| System.Memory | [4.5.5, ) |
| System.Runtime.CompilerServices.Unsafe | [6.0.0, ) |
| 包名 | 版本要求 |
|---|---|
| System.ComponentModel.Annotations | [5.0.0, ) |
| System.Runtime.CompilerServices.Unsafe | [6.0.0, ) |
| 作者 | Microsoft |
|---|---|
| 发布时间 | 2024-11-27 22:39:02 |
| 项目主页 | https://github.com/CommunityToolkit/dotnet |
| 许可证 | https://www.nuget.org/packages/CommunityToolkit.Mvvm/8.4.0-preview3/license |