This package includes a .NET Standard 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 7.1.1-preview3.1
Install-Package CommunityToolkit.Mvvm -Version 7.1.1-preview3.1
| 包名 | 版本要求 |
|---|---|
| Microsoft.Bcl.AsyncInterfaces | [5.0.0, ) |
| System.ComponentModel.Annotations | [5.0.0, ) |
| System.Memory | [4.5.4, ) |
| 包名 | 版本要求 |
|---|---|
| System.ComponentModel.Annotations | [5.0.0, ) |
| System.Runtime.CompilerServices.Unsafe | [5.0.0, ) |
| 作者 | Microsoft.Toolkit |
|---|---|
| 发布时间 | 2021-11-09 23:04:04 |
| 项目主页 | https://github.com/CommunityToolkit/WindowsCommunityToolkit |
| 许可证 | https://www.nuget.org/packages/CommunityToolkit.Mvvm/7.1.1-preview3.1/license |