![]() |
VOOZH | about |
dotnet add package DYH.Extensions.CAD --version 10.6.0
NuGet\Install-Package DYH.Extensions.CAD -Version 10.6.0
<PackageReference Include="DYH.Extensions.CAD" Version="10.6.0" />
<PackageVersion Include="DYH.Extensions.CAD" Version="10.6.0" />Directory.Packages.props
<PackageReference Include="DYH.Extensions.CAD" />Project file
paket add DYH.Extensions.CAD --version 10.6.0
#r "nuget: DYH.Extensions.CAD, 10.6.0"
#:package DYH.Extensions.CAD@10.6.0
#addin nuget:?package=DYH.Extensions.CAD&version=10.6.0Install as a Cake Addin
#tool nuget:?package=DYH.Extensions.CAD&version=10.6.0Install as a Cake Tool
自用的库,省得每次给别人写东西时要复制来复制去
依赖注入加补充工具类
DYH.CAD.Extensions.Initialize.Setup(cfg =>
{
cfg.Assemblies = [Assembly.GetExecutingAssembly()];
cfg.SettingsDir =
Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
"DYHTest", "Settings");
});
其中SettingsDir是设置文件的目录,Assembies是需要扫描的程序集
服务有接口的,在后面添加接口类型参数,例如: [SingletonDI(typeof(IInterfaceType))]
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net472 net472 is compatible. net48 net48 is compatible. net481 net481 was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.6.0 | 119 | 4/6/2026 |
| 10.5.0 | 111 | 3/24/2026 |
| 10.4.0 | 103 | 3/24/2026 |
| 10.3.0 | 107 | 3/24/2026 |
| 10.2.0 | 105 | 3/24/2026 |
| 10.1.0 | 148 | 1/13/2026 |
| 10.0.0 | 479 | 12/9/2025 |
| 10.0.0-alpha | 443 | 11/19/2025 |
| 9.0.9.2 | 232 | 10/9/2025 |
| 9.0.9.1 | 199 | 9/28/2025 |
| 9.0.9 | 183 | 9/28/2025 |
| 9.0.8.6 | 321 | 9/19/2025 |
| 9.0.8.5 | 221 | 9/4/2025 |
| 9.0.8.4 | 225 | 9/3/2025 |
| 9.0.8.3 | 212 | 8/21/2025 |
| 9.0.8.2 | 204 | 8/18/2025 |
| 9.0.8.1 | 213 | 8/11/2025 |
| 9.0.8 | 202 | 8/11/2025 |
| 9.0.7 | 217 | 7/17/2025 |
| 3.1.2 | 225 | 7/16/2025 |
切换依赖注入为DryIoc