Bitzsoft.Integrations.Finance.Payroll.All
1.0.0-alpha.10
This is a prerelease version of Bitzsoft.Integrations.Finance.Payroll.All.
dotnet add package Bitzsoft.Integrations.Finance.Payroll.All --version 1.0.0-alpha.10
NuGet\Install-Package Bitzsoft.Integrations.Finance.Payroll.All -Version 1.0.0-alpha.10
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bitzsoft.Integrations.Finance.Payroll.All" Version="1.0.0-alpha.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bitzsoft.Integrations.Finance.Payroll.All" Version="1.0.0-alpha.10" />
<PackageReference Include="Bitzsoft.Integrations.Finance.Payroll.All" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Bitzsoft.Integrations.Finance.Payroll.All --version 1.0.0-alpha.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Bitzsoft.Integrations.Finance.Payroll.All, 1.0.0-alpha.10"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Bitzsoft.Integrations.Finance.Payroll.All@1.0.0-alpha.10
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Bitzsoft.Integrations.Finance.Payroll.All&version=1.0.0-alpha.10&prerelease
#tool nuget:?package=Bitzsoft.Integrations.Finance.Payroll.All&version=1.0.0-alpha.10&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Bitzsoft.Integrations.Finance.Payroll.All
薪酬社保服务聚合包 -- 一次性注册所有薪酬社保服务供应商。
功能特性
- 统一注册入口:
AddBitzsoftPayrollAll提供薪酬社保模块的集中注册点 - 按需激活:仅注册配置中存在的供应商,未配置的自动跳过
- 统一配置节:所有薪酬社保供应商配置统一位于
Finance:Payroll下 - 传递自定义配置节:支持通过
sectionKey参数指定非默认的配置节名称 - 预留扩展:当前为预留接口,待薪福通等具体实现完成后补充注册逻辑
安装
.NET CLI
dotnet add package Bitzsoft.Integrations.Finance.Payroll.All
PackageReference
<PackageReference Include="Bitzsoft.Integrations.Finance.Payroll.All" Version="1.0.0" />
配置
appsettings.json
{
"Finance": {
"Payroll": {
"Xft": {
"AppKey": "薪福通提供的 AppKey",
"AppSecret": "双方约定的 AppSecret"
}
}
}
}
各供应商的具体配置字段以实现包的
Options类为准。当前薪酬社保尚未有进入本聚合包的供应商实现,配置节为预留。
注册服务
从 IConfiguration 绑定
using Bitzsoft.Integrations.Finance.Payroll.All;
// 默认读取 "Finance:Payroll" 配置节
builder.Services.AddBitzsoftPayrollAll(builder.Configuration);
// 或指定自定义配置节
builder.Services.AddBitzsoftPayrollAll(builder.Configuration, "MyFinance:Payroll");
当前
AddBitzsoftPayrollAll为预留实现,内部尚无供应商注册逻辑。具体供应商实现完成后将在此自动注册。
使用示例
注册完成后,按抽象接口注入对应供应商实现:
using Bitzsoft.Integrations.Finance.Payroll.Interfaces;
public class PayrollService
{
public PayrollService(IPayrollProvider payroll)
{
// 解析为配置中启用的供应商实现
}
}
核心类型一览
| 类型 | 说明 |
|---|---|
ServiceCollectionExtensions.AddBitzsoftPayrollAll |
聚合注册扩展方法(IConfiguration + 可选 sectionKey,默认 "Finance:Payroll") |
依赖
| 包 | 说明 |
|---|---|
Bitzsoft.Integrations.Finance.Payroll |
薪酬社保抽象层 |
Microsoft.Extensions.Configuration.Abstractions |
配置抽象 |
Microsoft.Extensions.DependencyInjection.Abstractions |
DI 抽象 |
相关包
- Bitzsoft.Integrations.Finance.Payroll -- 薪酬社保抽象层
- Bitzsoft.Integrations.Finance.All -- 财税管理全量聚合包
- Bitzsoft.Integrations.Xft -- 薪福通客户端(直接集成,非本聚合包)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. 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 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Bitzsoft.Integrations.Compatibility (>= 1.0.0-alpha.10)
- Bitzsoft.Integrations.Finance.Payroll (>= 1.0.0-alpha.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
-
net5.0
- Bitzsoft.Integrations.Compatibility (>= 1.0.0-alpha.10)
- Bitzsoft.Integrations.Finance.Payroll (>= 1.0.0-alpha.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 5.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0.0)
-
net8.0
- Bitzsoft.Integrations.Compatibility (>= 1.0.0-alpha.10)
- Bitzsoft.Integrations.Finance.Payroll (>= 1.0.0-alpha.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
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 |
|---|---|---|
| 1.0.0-alpha.10 | 40 | 7/26/2026 |
| 1.0.0-alpha.9 | 53 | 7/12/2026 |
| 1.0.0-alpha.8 | 57 | 7/1/2026 |
| 1.0.0-alpha.7 | 74 | 6/16/2026 |
| 1.0.0-alpha.6 | 70 | 6/16/2026 |
| 1.0.0-alpha.5 | 63 | 6/14/2026 |