com.kv.cs
1.1.2
See the version list below for details.
dotnet add package com.kv.cs --version 1.1.2
NuGet\Install-Package com.kv.cs -Version 1.1.2
<PackageReference Include="com.kv.cs" Version="1.1.2" />
paket add com.kv.cs --version 1.1.2
#r "nuget: com.kv.cs, 1.1.2"
// Install com.kv.cs as a Cake Addin
#addin nuget:?package=com.kv.cs&version=1.1.2
// Install com.kv.cs as a Cake Tool
#tool nuget:?package=com.kv.cs&version=1.1.2
.net core公共包
com.kv.cs:整合包
//startup.cs文件中修改 using AspectCore.Extensions.DependencyInjection; using com.kv.cs.utility.Extensions; public IServiceProvider ConfigureServices(IServiceCollection services) { services.AddSingleton<IUserService, UserService>(); services.AddMvc(); services.AddDynamicProxy(config ⇒ { config.Interceptors.AddTyped<AuthenticateInterceptor>(); });
//注入属性,字段注入服务类
services.AddSingleton<com.kv.cs.services.AutowiredService>();
//注入特性类
services.ScanCompent(/*限定命令空间*/);
//代替上面的两行
services.Autowaired(/*限定命令空间*/);
//使用aspect
return services.BuildAspectInjectorProvider();
}
//类中使用 using com.kv.cs.services; using com.kv.cs.utility.Attributes; namespace webtest.Controllers { public class HomeController : Controller {
public HomeController(AutowiredService a) {
a.Autowired(this);
}
[Autowired]
private Services.testServices t;
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. 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 | netcoreapp2.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.2
- AspectCore.Abstractions (>= 1.2.0)
- AspectCore.Core (>= 1.2.0)
- AspectCore.Extensions.DependencyInjection (>= 1.2.0)
- Dapper (>= 1.60.1)
- Dapper.Contrib (>= 1.60.1)
- MailKit (>= 2.1.3)
- Microsoft.AspNetCore (>= 2.2.0)
- Microsoft.AspNetCore.App (>= 2.2.0)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Caching.Abstractions (>= 2.2.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 2.2.0)
- NETCore.Encrypt (>= 2.0.7)
- Newtonsoft.Json (>= 12.0.1)
- System.Drawing.Common (>= 4.5.1)
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 |
---|---|---|
3.0.1 | 476 | 9/19/2022 |
1.1.23 | 574 | 10/15/2020 |
1.1.22 | 540 | 10/14/2020 |
1.1.21 | 525 | 10/13/2020 |
1.1.20 | 504 | 10/13/2020 |
1.1.19 | 512 | 10/12/2020 |
1.1.18 | 622 | 9/27/2020 |
1.1.17 | 508 | 9/24/2020 |
1.1.16 | 519 | 9/7/2020 |
1.1.15 | 575 | 9/7/2020 |
1.1.14 | 590 | 6/10/2020 |
1.1.13 | 663 | 6/10/2020 |
1.1.12 | 511 | 6/7/2020 |
1.1.11 | 638 | 5/29/2020 |
1.1.10 | 704 | 5/28/2020 |
1.1.9 | 483 | 4/21/2020 |
1.1.8 | 681 | 2/20/2020 |
1.1.7 | 599 | 2/20/2020 |
1.1.6 | 641 | 1/8/2020 |
1.1.5 | 701 | 1/8/2020 |
1.1.4 | 619 | 12/26/2019 |
1.1.3 | 562 | 11/25/2019 |
1.1.2 | 729 | 5/6/2019 |
1.1.1 | 635 | 4/26/2019 |
1.1.0 | 622 | 4/26/2019 |
1.0.1 | 642 | 3/8/2019 |
1.0.0 | 513 | 3/8/2019 |
工具包。(验证码,邮箱,注解事务,注解缓存, 权限,流程,事务一体)
加入异步执行
加入字段,属性自动装配