官方文档翻译
官方网址
https://prismlibrary.com/docs/getting-started/Download-and-Setup-Prism.html
下载以及安装Prism
1. 安装系统需求
- 系统:Win7以上
- .NET Framework 4.5以上
- VS2017 以上
- Xamarin workload must be installed for Prism.Forms.
2.下载代码以及文档
- Prism源代码,样例代码以及文章下载 :https://github.com/prismlibrary/prism
-
Prism-sample-wpf https://github.com/PrismLibrary/Prism-Samples-Wpf
3.编译并运行sample code
NuGet Packages
PCL | Prism.dll | Prism.Core | 编辑 | 编辑 |
WPF | Prism.Wpf.dll | Prism.Wpf |
Container packages
每个受支持的IoC容器都有自己的包,
惯例命名程序集:Prism.Container.Platform.dll,例如Prism.Unity.Wpf.dll
从7.0版本开始,Prism开始为每个平台提供独立的包。
WPF
Package | NuGet | MyGet |
---|---|---|
Prism.DryIoc | 编辑 | 编辑 |
Prism.Unity | 编辑 | 编辑 |
Overview of assemblies
Prism Core
Assembly | Package |
---|---|
Prism.dll | Prism.Core |
WPF
Assembly | Package |
---|---|
Prism.Wpf.dll | Prism.Wpf |
Prism.Unity.Wpf.dll | Prism.Unity |
Prism.DryIoc.Wpf.dll | Prism.DryIoc |
Xamarin.Forms
Assembly | Package |
---|---|
Prism.Forms.dll | Prism.Forms |
Prism.Unity.Forms.dll | Prism.Unity.Forms |
Prism.DryIoc.Forms.dll | Prism.DryIoc.Forms |