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.1.0-preview2
Install-Package CommunityToolkit.Mvvm -Version 8.1.0-preview2
| 包名 | 版本要求 |
|---|---|
| Microsoft.Bcl.AsyncInterfaces | [7.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 |
|---|---|
| 发布时间 | 2022-12-13 17:26:39 |
| 项目主页 | https://github.com/CommunityToolkit/dotnet |
| 许可证 | https://www.nuget.org/packages/CommunityToolkit.Mvvm/8.1.0-preview2/license |