Wif.Infrastructure
0.1.0
See the version list below for details.
dotnet add package Wif.Infrastructure --version 0.1.0
NuGet\Install-Package Wif.Infrastructure -Version 0.1.0
<PackageReference Include="Wif.Infrastructure" Version="0.1.0" />
paket add Wif.Infrastructure --version 0.1.0
#r "nuget: Wif.Infrastructure, 0.1.0"
// Install Wif.Infrastructure as a Cake Addin #addin nuget:?package=Wif.Infrastructure&version=0.1.0 // Install Wif.Infrastructure as a Cake Tool #tool nuget:?package=Wif.Infrastructure&version=0.1.0
WPF Infrastructure Framework(WIF) English
WPF Infrastructure Framework(WIF)是一个基础设施框架,可帮助您快速开发WPF应用程序。
项目起源
在经过大量的WPF项目开发后,积累了大量好用的Infrastructure,故整理并发布出来,供后来者快速开发WPF应用程序。您可以选择引用生成的dll,也可以拷贝您需要的代码到您的项目中。严格的说该项目不是一个框架,而是由离散的基础设施组成。
项目组成
项目由Wif.Core、Wif.Utils和Wif.Infrastructure组成。
Wif.Core:WPF基础设施框架的核心部分,该部分代码一般是XAML不相关的,有最少的依赖项,包含Async、Cache、Collections、ComponentModel、Generic、Setting。
Wif.Utils:WPF基础设施框架的扩展部分,主要是一些Extensions、Helpers。
Wif.Infrastructure:WPF基础设施框架的主要部分,包含Binding、PropertyChanged、MarkupExtensions、Converters、Commands、EventToCommand、Behaviors、ValidationRules等大量实用基础设施。
组成图
博客
【wif 系列】
文档
致敬感谢
项目中大部分代码源自于个人积累,同时有一些代码参阅了WPF开发者的分享,这部分代码已注明出处和链接,特此致敬!
适用人群
该项目中有一些MVVM框架的实现,但是并不用于替代MVVM框架。如果您开发的是一个小型项目,不考虑使用MVVM框架,本项目或许适合您实现简单MVVM模式。
如果您觉得现有的MVVM框架中的基础设施不能完全满足您的需要,您可以看看该项目中是否有适合的,以作为MVVM框架的辅助库。
如果您有代码洁癖,追求精致代码,这个项目可能适合您。
如果您是一位WPF初学者,该项目或许可以为您打开一扇门,窥见WPF设计的精妙之处。
Licence
该项目根据MIT许可证授权。
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net5.0-windows7.0 is compatible. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp3.1 is compatible. |
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETCoreApp 3.1
- Microsoft.Xaml.Behaviors.Wpf (>= 1.1.19)
- Wif.Core (>= 0.1.0)
- Wif.Utilities (>= 0.1.0)
-
.NETFramework 4.7.2
- Microsoft.Xaml.Behaviors.Wpf (>= 1.1.19)
- Wif.Core (>= 0.1.0)
- Wif.Utilities (>= 0.1.0)
-
net5.0-windows7.0
- Microsoft.Xaml.Behaviors.Wpf (>= 1.1.19)
- Wif.Core (>= 0.1.0)
- Wif.Utilities (>= 0.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.4.0.24100 | 115 | 4/10/2024 |
0.3.0.21349 | 380 | 12/16/2021 |
0.3.0.21286 | 399 | 10/13/2021 |
0.2.1.21116 | 351 | 4/27/2021 |
0.2.0 | 314 | 4/13/2021 |
0.1.0 | 411 | 11/24/2020 |