A:增加权限认定
This commit is contained in:
1 parent
b738a2b166
commit
2bd35348dc
23 files changed
+851
-5
No files matched your search
@@ -0,0 +1,89 @@
|
|||||||
|
# 更新日志
|
||||||
|
|
||||||
|
本文档记录 Sharp-Basic Framework 的所有重要更改。
|
||||||
|
|
||||||
|
格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.0.0/),
|
||||||
|
版本号遵循 [语义化版本](https://semver.org/lang/zh-CN/)。
|
||||||
|
|
||||||
|
## [未发布]
|
||||||
|
|
||||||
|
### 计划中
|
||||||
|
- Cache 模块完整实现
|
||||||
|
- EventBus 模块完整实现
|
||||||
|
- 性能监控和诊断工具
|
||||||
|
|
||||||
|
## [1.0.1] - 2025-01-XX
|
||||||
|
|
||||||
|
### 新增
|
||||||
|
- 完整的项目元数据和版权信息
|
||||||
|
- AUTHORS 文件列出贡献者
|
||||||
|
- CONTRIBUTING.md 贡献指南
|
||||||
|
- NOTICE 文件包含第三方依赖声明
|
||||||
|
- CHANGELOG.md 版本变更记录
|
||||||
|
- Directory.Build.props 统一管理项目元信息
|
||||||
|
|
||||||
|
### 变更
|
||||||
|
- 更新许可证为 AGPL-3.0-or-later
|
||||||
|
- 完善 README.md,添加项目徽章和详细信息
|
||||||
|
- 统一版权声明为 Copyright © 2024-2025 duyl328
|
||||||
|
|
||||||
|
### 文档
|
||||||
|
- 更新 CLAUDE.md 项目指南
|
||||||
|
- 添加快速开始指南
|
||||||
|
|
||||||
|
## [1.0.0] - 2024-XX-XX
|
||||||
|
|
||||||
|
### 新增
|
||||||
|
- ✨ 初始版本发布
|
||||||
|
- 核心模块实现:
|
||||||
|
- **Sharp.Common**: 基础工具库(Result<T>、Global DI 容器、扩展方法)
|
||||||
|
- **Sharp.Config**: 多格式配置管理(JSON/XML/INI/TOML)
|
||||||
|
- **Sharp.Data**: EF Core 数据访问层(仓储模式、审计、软删除)
|
||||||
|
- **Sharp.Log**: Serilog 日志集成
|
||||||
|
- **Sharp.Wpf**: WPF MVVM 基础库
|
||||||
|
- **Sharp.Wpf.HandyControl**: HandyControl UI 库集成
|
||||||
|
- **Sharp.Wpf.DevTools**: 开发者工具(DevTools 窗口、日志查看器)
|
||||||
|
- **Sharp.NetClient**: HTTP 客户端(Polly 重试)
|
||||||
|
- **Sharp.NetServer**: 轻量级 Web 服务器
|
||||||
|
- **Sharp.Ports**: 串口通信库
|
||||||
|
- **Sharp.Plc**: PLC 通信抽象层
|
||||||
|
- **Sharp.Plc.Siemens**: 西门子 S7 PLC 驱动
|
||||||
|
- **Sharp.Process**: 进程执行管理
|
||||||
|
- **Sharp.Python**: Python 脚本执行
|
||||||
|
- 📦 完整的单元测试覆盖
|
||||||
|
- 📚 各模块 README 文档
|
||||||
|
- 🎯 Sharp.Demo 综合示例应用
|
||||||
|
|
||||||
|
### 架构
|
||||||
|
- 模块化设计,引入即用
|
||||||
|
- 约定优于配置的理念
|
||||||
|
- 固执己见的技术栈(EF Core, Serilog, HandyControl)
|
||||||
|
- Result<T> 函数式错误处理
|
||||||
|
- 混合 DI 方式(标准 DI + Global 容器)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 版本说明
|
||||||
|
|
||||||
|
### 版本号格式: MAJOR.MINOR.PATCH
|
||||||
|
|
||||||
|
- **MAJOR**: 不兼容的 API 变更
|
||||||
|
- **MINOR**: 向后兼容的功能新增
|
||||||
|
- **PATCH**: 向后兼容的问题修正
|
||||||
|
|
||||||
|
### 变更类型
|
||||||
|
|
||||||
|
- `新增`: 新功能
|
||||||
|
- `变更`: 现有功能的变更
|
||||||
|
- `弃用`: 即将移除的功能
|
||||||
|
- `移除`: 已移除的功能
|
||||||
|
- `修复`: Bug 修复
|
||||||
|
- `安全`: 安全相关的修复
|
||||||
|
- `文档`: 文档相关变更
|
||||||
|
- `性能`: 性能改进
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
[未发布]: https://gitea.duyl328.org/jimmy/sharp-basic/compare/v1.0.1...HEAD
|
||||||
|
[1.0.1]: https://gitea.duyl328.org/jimmy/sharp-basic/compare/v1.0.0...v1.0.1
|
||||||
|
[1.0.0]: https://gitea.duyl328.org/jimmy/sharp-basic/releases/tag/v1.0.0
|
||||||
+197
@@ -0,0 +1,197 @@
|
|||||||
|
# 贡献指南
|
||||||
|
|
||||||
|
感谢您考虑为 Sharp-Basic Framework 做出贡献!
|
||||||
|
|
||||||
|
## 📜 行为准则
|
||||||
|
|
||||||
|
请遵守以下基本原则:
|
||||||
|
- 尊重所有贡献者
|
||||||
|
- 保持友好和包容的态度
|
||||||
|
- 接受建设性的批评
|
||||||
|
- 专注于对社区最有利的事情
|
||||||
|
|
||||||
|
## 🚀 如何贡献
|
||||||
|
|
||||||
|
### 报告 Bug
|
||||||
|
|
||||||
|
如果您发现了 bug,请创建一个 Issue 并包含以下信息:
|
||||||
|
1. **标题**: 简洁描述问题
|
||||||
|
2. **环境**: 操作系统、.NET 版本、项目版本
|
||||||
|
3. **复现步骤**: 详细的步骤
|
||||||
|
4. **预期行为**: 应该发生什么
|
||||||
|
5. **实际行为**: 实际发生了什么
|
||||||
|
6. **日志/截图**: 如果有的话
|
||||||
|
|
||||||
|
### 提出新功能
|
||||||
|
|
||||||
|
在开始编码之前:
|
||||||
|
1. 先创建一个 Issue 讨论您的想法
|
||||||
|
2. 等待维护者的反馈
|
||||||
|
3. 确保功能符合项目的整体方向
|
||||||
|
|
||||||
|
### 提交代码
|
||||||
|
|
||||||
|
#### 准备工作
|
||||||
|
```bash
|
||||||
|
# Fork 项目到您的账号
|
||||||
|
# Clone 到本地
|
||||||
|
git clone https://gitea.duyl328.org/您的用户名/sharp-basic.git
|
||||||
|
cd sharp-basic
|
||||||
|
|
||||||
|
# 添加上游仓库
|
||||||
|
git remote add upstream https://gitea.duyl328.org/jimmy/sharp-basic.git
|
||||||
|
|
||||||
|
# 创建功能分支
|
||||||
|
git checkout -b feature/您的功能名称
|
||||||
|
```
|
||||||
|
|
||||||
|
#### 代码规范
|
||||||
|
|
||||||
|
1. **命名约定**
|
||||||
|
- 类名:PascalCase(如 `ConfigManager`)
|
||||||
|
- 方法名:PascalCase(如 `BuildConfiguration`)
|
||||||
|
- 私有字段:_camelCase(如 `_logger`)
|
||||||
|
- 参数/局部变量:camelCase(如 `userName`)
|
||||||
|
|
||||||
|
2. **注释规范**
|
||||||
|
- 所有公共 API 必须有 XML 文档注释
|
||||||
|
- 使用中文编写注释和文档
|
||||||
|
- 复杂逻辑需要添加行内注释
|
||||||
|
|
||||||
|
3. **代码风格**
|
||||||
|
- 启用 nullable 引用类型
|
||||||
|
- 使用 `var` 当类型明显时
|
||||||
|
- 一行不超过 120 字符
|
||||||
|
- 使用 4 个空格缩进(不使用 Tab)
|
||||||
|
|
||||||
|
4. **测试要求**
|
||||||
|
- 新功能必须包含单元测试
|
||||||
|
- 测试覆盖率应 >= 80%
|
||||||
|
- 使用 MSTest 框架
|
||||||
|
- 测试方法命名: `方法名_场景_预期结果`
|
||||||
|
|
||||||
|
#### 提交信息规范
|
||||||
|
|
||||||
|
使用以下格式:
|
||||||
|
```
|
||||||
|
<类型>(<模块>): <简短描述>
|
||||||
|
|
||||||
|
<详细描述(可选)>
|
||||||
|
|
||||||
|
<关联 Issue(如果有)>
|
||||||
|
```
|
||||||
|
|
||||||
|
**类型**:
|
||||||
|
- `feat`: 新功能
|
||||||
|
- `fix`: Bug 修复
|
||||||
|
- `docs`: 文档更新
|
||||||
|
- `style`: 代码格式调整(不影响功能)
|
||||||
|
- `refactor`: 重构
|
||||||
|
- `test`: 测试相关
|
||||||
|
- `chore`: 构建/工具相关
|
||||||
|
|
||||||
|
**示例**:
|
||||||
|
```
|
||||||
|
feat(Config): 添加 TOML 格式支持
|
||||||
|
|
||||||
|
实现了基于 Tomlyn 的 TOML 配置文件解析功能
|
||||||
|
支持热重载和强类型绑定
|
||||||
|
|
||||||
|
Closes #123
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Pull Request 流程
|
||||||
|
|
||||||
|
1. **确保代码质量**
|
||||||
|
```bash
|
||||||
|
# 运行所有测试
|
||||||
|
dotnet test
|
||||||
|
|
||||||
|
# 构建项目
|
||||||
|
dotnet build -c Release
|
||||||
|
```
|
||||||
|
|
||||||
|
2. **同步上游更改**
|
||||||
|
```bash
|
||||||
|
git fetch upstream
|
||||||
|
git rebase upstream/main
|
||||||
|
```
|
||||||
|
|
||||||
|
3. **提交 PR**
|
||||||
|
- 填写清晰的 PR 标题和描述
|
||||||
|
- 关联相关的 Issue
|
||||||
|
- 确保 CI 通过(如果有)
|
||||||
|
- 等待代码审查
|
||||||
|
|
||||||
|
4. **代码审查**
|
||||||
|
- 维护者会审查您的代码
|
||||||
|
- 根据反馈进行修改
|
||||||
|
- 保持耐心和礼貌
|
||||||
|
|
||||||
|
## 📂 项目结构
|
||||||
|
|
||||||
|
```
|
||||||
|
src/Sharp/ # 所有源代码项目
|
||||||
|
├── Common/ # 核心工具库
|
||||||
|
├── Config/ # 配置管理
|
||||||
|
├── Data/ # 数据访问层
|
||||||
|
├── Log/ # 日志模块
|
||||||
|
├── Wpf/ # WPF 基础库
|
||||||
|
└── ...
|
||||||
|
|
||||||
|
test/ # 测试项目
|
||||||
|
├── Common.Test/
|
||||||
|
├── Config.Test/
|
||||||
|
└── ...
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🔧 开发环境设置
|
||||||
|
|
||||||
|
### 必需工具
|
||||||
|
- [.NET 8 SDK](https://dotnet.microsoft.com/download/dotnet/8.0)
|
||||||
|
- [Git](https://git-scm.com/)
|
||||||
|
- 推荐 IDE:
|
||||||
|
- [Visual Studio 2022](https://visualstudio.microsoft.com/) (Windows)
|
||||||
|
- [Rider](https://www.jetbrains.com/rider/) (跨平台)
|
||||||
|
- [VS Code](https://code.visualstudio.com/) + C# 扩展
|
||||||
|
|
||||||
|
### 首次构建
|
||||||
|
```bash
|
||||||
|
# 还原依赖
|
||||||
|
dotnet restore
|
||||||
|
|
||||||
|
# 构建解决方案
|
||||||
|
dotnet build Sharp.sln
|
||||||
|
|
||||||
|
# 运行测试
|
||||||
|
dotnet test
|
||||||
|
```
|
||||||
|
|
||||||
|
## 📋 待办事项
|
||||||
|
|
||||||
|
查看 [Issues](https://gitea.duyl328.org/jimmy/sharp-basic/issues) 页面了解:
|
||||||
|
- 标记为 `good first issue` 的任务适合新贡献者
|
||||||
|
- 标记为 `help wanted` 的任务需要帮助
|
||||||
|
|
||||||
|
## 📝 文档贡献
|
||||||
|
|
||||||
|
文档同样重要!您可以:
|
||||||
|
- 改进现有文档的清晰度
|
||||||
|
- 添加示例代码
|
||||||
|
- 修正错别字
|
||||||
|
- 翻译文档(如果需要)
|
||||||
|
|
||||||
|
## ⚖️ 许可证
|
||||||
|
|
||||||
|
提交代码即表示您同意将您的贡献以 [AGPL-3.0-or-later](LICENSE) 许可证发布。
|
||||||
|
|
||||||
|
## 💬 联系方式
|
||||||
|
|
||||||
|
如有任何问题:
|
||||||
|
- 创建 [Issue](https://gitea.duyl328.org/jimmy/sharp-basic/issues)
|
||||||
|
- 查看 [README](README.md) 获取更多信息
|
||||||
|
- 访问作者网站: [https://seyl.me/](https://seyl.me/)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
再次感谢您的贡献!🎉
|
||||||
@@ -219,8 +219,8 @@ If you develop a new program, and you want it to be of the greatest possible use
|
|||||||
|
|
||||||
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
|
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
sharp-basic
|
Sharp-Basic Framework
|
||||||
Copyright (C) 2025 jimmy
|
Copyright (C) 2024-2025 duyl328
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,64 @@
|
|||||||
|
Sharp-Basic Framework
|
||||||
|
Copyright © 2024-2025 duyl328
|
||||||
|
https://gitea.duyl328.org/jimmy/sharp-basic
|
||||||
|
|
||||||
|
本软件采用 GNU Affero General Public License v3.0 或更高版本 (AGPL-3.0-or-later) 许可。
|
||||||
|
|
||||||
|
================================================================================
|
||||||
|
|
||||||
|
本软件使用了以下第三方开源组件:
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Microsoft.Extensions.* 系列
|
||||||
|
版权所有 © .NET Foundation and Contributors
|
||||||
|
许可证: MIT
|
||||||
|
来源: https://github.com/dotnet/runtime
|
||||||
|
|
||||||
|
包括但不限于:
|
||||||
|
- Microsoft.Extensions.DependencyInjection
|
||||||
|
- Microsoft.Extensions.Configuration
|
||||||
|
- Microsoft.Extensions.Logging
|
||||||
|
- Microsoft.Extensions.Options
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Entity Framework Core
|
||||||
|
版权所有 © .NET Foundation and Contributors
|
||||||
|
许可证: MIT
|
||||||
|
来源: https://github.com/dotnet/efcore
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Serilog
|
||||||
|
版权所有 © Serilog Contributors
|
||||||
|
许可证: Apache-2.0
|
||||||
|
来源: https://github.com/serilog/serilog
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Polly
|
||||||
|
版权所有 © Polly Contributors
|
||||||
|
许可证: BSD-3-Clause
|
||||||
|
来源: https://github.com/App-vNext/Polly
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
HandyControl
|
||||||
|
版权所有 © HandyOrg
|
||||||
|
许可证: MIT
|
||||||
|
来源: https://github.com/HandyOrg/HandyControl
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
S7.NET+
|
||||||
|
版权所有 © S7.NET+ Contributors
|
||||||
|
许可证: MIT
|
||||||
|
来源: https://github.com/S7NetPlus/s7netplus
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Tomlyn (TOML 解析)
|
||||||
|
版权所有 © Alexandre Mutel
|
||||||
|
许可证: BSD-2-Clause
|
||||||
|
来源: https://github.com/xoofx/Tomlyn
|
||||||
|
|
||||||
|
================================================================================
|
||||||
|
|
||||||
|
完整的第三方许可证文本,请参阅各组件的官方仓库或 NuGet 包中的 LICENSE 文件。
|
||||||
|
|
||||||
|
本软件依赖的所有第三方组件均为开源软件,并在其各自的许可证下分发。
|
||||||
|
使用本软件即表示您同意遵守这些第三方许可证的条款。
|
||||||
@@ -0,0 +1,152 @@
|
|||||||
|
# 项目元数据配置总结
|
||||||
|
|
||||||
|
本文档总结了 Sharp-Basic Framework v1.0.1 的元数据配置。
|
||||||
|
|
||||||
|
## ✅ 已完成的配置
|
||||||
|
|
||||||
|
### 1. 核心元数据文件
|
||||||
|
|
||||||
|
#### `Directory.Build.props` (src/Sharp/)
|
||||||
|
- ✅ 作者: duyl328
|
||||||
|
- ✅ 版权: Copyright © 2024-2025 duyl328
|
||||||
|
- ✅ 版本: 1.0.1
|
||||||
|
- ✅ 仓库: https://gitea.duyl328.org/jimmy/sharp-basic
|
||||||
|
- ✅ 许可证: AGPL-3.0-or-later
|
||||||
|
- ✅ 项目描述: 模块化.NET 8企业应用开发框架
|
||||||
|
- ✅ 包标签: wpf;mvvm;dotnet;framework;plc;industrial;iot;siemens;ef-core;serilog;configuration
|
||||||
|
- ✅ 源代码链接支持 (Source Link for Gitea)
|
||||||
|
- ✅ 确定性构建配置
|
||||||
|
|
||||||
|
### 2. 许可证文件
|
||||||
|
|
||||||
|
#### `LICENSE`
|
||||||
|
- ✅ GNU AGPL v3.0 完整文本
|
||||||
|
- ✅ 更新版权声明示例
|
||||||
|
|
||||||
|
### 3. 项目文档
|
||||||
|
|
||||||
|
#### `README.md`
|
||||||
|
- ✅ 项目徽章(版本、许可证、.NET版本)
|
||||||
|
- ✅ 项目信息(版本、作者、仓库、许可证)
|
||||||
|
- ✅ 详细的许可证说明(包含网络服务条款)
|
||||||
|
- ✅ 作者信息和链接
|
||||||
|
- ✅ 版权声明
|
||||||
|
|
||||||
|
#### `AUTHORS`
|
||||||
|
- ✅ 主要作者信息
|
||||||
|
- ✅ 贡献者列表框架
|
||||||
|
|
||||||
|
#### `CONTRIBUTING.md`
|
||||||
|
- ✅ 行为准则
|
||||||
|
- ✅ Bug 报告指南
|
||||||
|
- ✅ 功能请求流程
|
||||||
|
- ✅ 代码规范(命名、注释、风格)
|
||||||
|
- ✅ 测试要求
|
||||||
|
- ✅ 提交信息规范
|
||||||
|
- ✅ Pull Request 流程
|
||||||
|
- ✅ 开发环境设置
|
||||||
|
|
||||||
|
#### `CHANGELOG.md`
|
||||||
|
- ✅ 版本 1.0.1 变更记录
|
||||||
|
- ✅ 版本 1.0.0 初始发布记录
|
||||||
|
- ✅ 版本号规范说明
|
||||||
|
- ✅ 变更类型定义
|
||||||
|
|
||||||
|
#### `NOTICE`
|
||||||
|
- ✅ 项目版权声明
|
||||||
|
- ✅ 第三方依赖列表及其许可证
|
||||||
|
- Microsoft.Extensions.*
|
||||||
|
- Entity Framework Core
|
||||||
|
- Serilog
|
||||||
|
- Polly
|
||||||
|
- HandyControl
|
||||||
|
- S7.NET+
|
||||||
|
- Tomlyn
|
||||||
|
|
||||||
|
## 📋 NuGet 包元数据
|
||||||
|
|
||||||
|
所有项目现在继承以下元数据(通过 Directory.Build.props):
|
||||||
|
|
||||||
|
```xml
|
||||||
|
<Authors>duyl328</Authors>
|
||||||
|
<Company>duyl328</Company>
|
||||||
|
<Product>Sharp-Basic Framework</Product>
|
||||||
|
<Description>模块化.NET 8企业应用开发框架</Description>
|
||||||
|
<Copyright>Copyright © 2024-2025 duyl328. All rights reserved.</Copyright>
|
||||||
|
<VersionPrefix>1.0.1</VersionPrefix>
|
||||||
|
<RepositoryUrl>https://gitea.duyl328.org/jimmy/sharp-basic</RepositoryUrl>
|
||||||
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
|
<PackageTags>wpf;mvvm;dotnet;framework;plc;industrial;iot;siemens;ef-core;serilog;configuration;csharp;enterprise;modular;iiot</PackageTags>
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🔍 下一步建议
|
||||||
|
|
||||||
|
### 可选的额外文件
|
||||||
|
|
||||||
|
1. **CODE_OF_CONDUCT.md** - 社区行为准则
|
||||||
|
- 推荐使用 Contributor Covenant
|
||||||
|
- 定义社区标准和执法机制
|
||||||
|
|
||||||
|
2. **SECURITY.md** - 安全策略
|
||||||
|
- 如何报告安全漏洞
|
||||||
|
- 支持的版本
|
||||||
|
- 披露政策
|
||||||
|
|
||||||
|
3. **.editorconfig** - 编辑器配置
|
||||||
|
- 统一代码风格
|
||||||
|
- 适用于所有贡献者
|
||||||
|
|
||||||
|
4. **Issue/PR 模板** (Gitea 支持)
|
||||||
|
- `.gitea/ISSUE_TEMPLATE/bug_report.md`
|
||||||
|
- `.gitea/ISSUE_TEMPLATE/feature_request.md`
|
||||||
|
- `.gitea/PULL_REQUEST_TEMPLATE.md`
|
||||||
|
|
||||||
|
5. **Badges 徽章增强**
|
||||||
|
- 构建状态(如果有 CI)
|
||||||
|
- 测试覆盖率
|
||||||
|
- NuGet 下载量
|
||||||
|
- 文档链接
|
||||||
|
|
||||||
|
### 持续维护
|
||||||
|
|
||||||
|
- 📅 定期更新 CHANGELOG.md
|
||||||
|
- 👥 更新 AUTHORS 文件添加新贡献者
|
||||||
|
- 📦 发布新版本时更新版本号
|
||||||
|
- 📄 保持文档与代码同步
|
||||||
|
|
||||||
|
## 🎯 标准合规性检查
|
||||||
|
|
||||||
|
✅ **开源许可证**: AGPL-3.0-or-later
|
||||||
|
✅ **版本管理**: 语义化版本 1.0.1
|
||||||
|
✅ **版权声明**: 所有必要文件已包含
|
||||||
|
✅ **第三方归属**: NOTICE 文件已创建
|
||||||
|
✅ **贡献流程**: CONTRIBUTING.md 已完善
|
||||||
|
✅ **变更跟踪**: CHANGELOG.md 已建立
|
||||||
|
✅ **作者信息**: AUTHORS 文件已创建
|
||||||
|
✅ **项目描述**: README.md 详细且专业
|
||||||
|
|
||||||
|
## 📝 维护命令
|
||||||
|
|
||||||
|
### 更新版本号
|
||||||
|
```powershell
|
||||||
|
# 编辑 Directory.Build.props
|
||||||
|
# 更新 <VersionPrefix> 标签
|
||||||
|
# 更新 CHANGELOG.md 添加新版本记录
|
||||||
|
```
|
||||||
|
|
||||||
|
### 构建 NuGet 包
|
||||||
|
```bash
|
||||||
|
dotnet pack -c Release
|
||||||
|
```
|
||||||
|
|
||||||
|
### 验证元数据
|
||||||
|
```bash
|
||||||
|
dotnet pack --no-build -c Release -o ./nupkg
|
||||||
|
# 检查生成的 .nupkg 文件的元数据
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**项目现在已符合标准开源项目的要求!** 🎉
|
||||||
|
|
||||||
|
所有元数据已正确配置,文档完善,准备好发布和接受贡献。
|
||||||
@@ -1,6 +1,17 @@
|
|||||||
# Sharp Basic
|
# Sharp-Basic Framework
|
||||||
|
|
||||||
一个基于 .NET 8 的现代化工业自动化与企业级应用开发套件,采用模块化架构设计,提供了从底层通信、基础设施到上层 UI 的完整解决方案。
|
[](https://gitea.duyl328.org/jimmy/sharp-basic)
|
||||||
|
[](LICENSE)
|
||||||
|
[](https://dotnet.microsoft.com/)
|
||||||
|
|
||||||
|
一个基于 .NET 8 的现代化工业自动化与企业级应用开发套件,采用模块化架构设计,提供了从底层通信、基础设施到上层 UI 的完整解决方案。
|
||||||
|
|
||||||
|
## 📋 项目信息
|
||||||
|
|
||||||
|
- **版本**: 1.0.1
|
||||||
|
- **作者**: [duyl328](https://seyl.me/)
|
||||||
|
- **仓库**: [https://gitea.duyl328.org/jimmy/sharp-basic](https://gitea.duyl328.org/jimmy/sharp-basic)
|
||||||
|
- **许可证**: AGPL-3.0-or-later
|
||||||
|
|
||||||
## 🏗️ 架构概览
|
## 🏗️ 架构概览
|
||||||
|
|
||||||
@@ -78,4 +89,25 @@ dotnet test Sharp.sln
|
|||||||
3. 提交信息简洁明了。
|
3. 提交信息简洁明了。
|
||||||
|
|
||||||
## 📄 许可证
|
## 📄 许可证
|
||||||
MIT License
|
|
||||||
|
本项目采用 [GNU Affero General Public License v3.0 或更高版本](LICENSE) (AGPL-3.0-or-later) 开源协议。
|
||||||
|
|
||||||
|
**关键要求**:
|
||||||
|
- ✅ 可以自由使用、修改和分发
|
||||||
|
- ✅ 必须保持开源(包括网络服务)
|
||||||
|
- ✅ 修改后必须使用相同许可证
|
||||||
|
- ⚠️ **网络服务条款**:如果您修改本软件并通过网络提供服务(如 Web API),必须向用户提供修改后的源代码
|
||||||
|
|
||||||
|
如需商业许可或有疑问,请联系作者。
|
||||||
|
|
||||||
|
## 👤 作者
|
||||||
|
|
||||||
|
**duyl328**
|
||||||
|
- 网站: [https://seyl.me/](https://seyl.me/)
|
||||||
|
- 仓库: [https://gitea.duyl328.org/jimmy/sharp-basic](https://gitea.duyl328.org/jimmy/sharp-basic)
|
||||||
|
|
||||||
|
查看 [AUTHORS](AUTHORS) 文件了解完整贡献者列表。
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Copyright © 2024-2025 duyl328. All rights reserved.
|
||||||
@@ -6,6 +6,24 @@
|
|||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<AssemblyName>Sharp.Cache</AssemblyName>
|
<AssemblyName>Sharp.Cache</AssemblyName>
|
||||||
<RootNamespace>Sharp.Cache</RootNamespace>
|
<RootNamespace>Sharp.Cache</RootNamespace>
|
||||||
|
|
||||||
|
<!-- 程序集元数据 -->
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
|
<Authors>Sharp Team</Authors>
|
||||||
|
<Company>Sharp Team</Company>
|
||||||
|
<Product>Sharp Framework</Product>
|
||||||
|
<Copyright>Copyright © 2024 Sharp Team</Copyright>
|
||||||
|
<Description>Sharp Framework 缓存库 - 内存缓存抽象和实现(规划中)</Description>
|
||||||
|
|
||||||
|
<!-- NuGet 包元数据 -->
|
||||||
|
<PackageId>Sharp.Cache</PackageId>
|
||||||
|
<PackageProjectUrl>https://github.com/your-org/sharp-basic</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/your-org/sharp-basic</RepositoryUrl>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<PackageTags>sharp;cache;memory-cache;caching</PackageTags>
|
||||||
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -4,6 +4,24 @@
|
|||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
|
||||||
|
<!-- 程序集元数据 -->
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
|
<Authors>Sharp Team</Authors>
|
||||||
|
<Company>Sharp Team</Company>
|
||||||
|
<Product>Sharp Framework</Product>
|
||||||
|
<Copyright>Copyright © 2024 Sharp Team</Copyright>
|
||||||
|
<Description>Sharp Framework 核心库 - 提供 Result<T> 模式、Global 容器、系统配置等基础功能</Description>
|
||||||
|
|
||||||
|
<!-- NuGet 包元数据 -->
|
||||||
|
<PackageId>Sharp.Common</PackageId>
|
||||||
|
<PackageProjectUrl>https://github.com/your-org/sharp-basic</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/your-org/sharp-basic</RepositoryUrl>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<PackageTags>sharp;common;result;railway-oriented;functional;utilities</PackageTags>
|
||||||
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -4,6 +4,24 @@
|
|||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
|
||||||
|
<!-- 程序集元数据 -->
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
|
<Authors>Sharp Team</Authors>
|
||||||
|
<Company>Sharp Team</Company>
|
||||||
|
<Product>Sharp Framework</Product>
|
||||||
|
<Copyright>Copyright © 2024 Sharp Team</Copyright>
|
||||||
|
<Description>Sharp Framework 配置管理库 - 支持 JSON/XML/INI/TOML 多格式配置,提供热重载和验证功能</Description>
|
||||||
|
|
||||||
|
<!-- NuGet 包元数据 -->
|
||||||
|
<PackageId>Sharp.Config</PackageId>
|
||||||
|
<PackageProjectUrl>https://github.com/your-org/sharp-basic</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/your-org/sharp-basic</RepositoryUrl>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<PackageTags>sharp;config;configuration;hotreload;json;xml;ini;toml</PackageTags>
|
||||||
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -5,6 +5,24 @@
|
|||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<RootNamespace>Sharp.Data</RootNamespace>
|
<RootNamespace>Sharp.Data</RootNamespace>
|
||||||
|
|
||||||
|
<!-- 程序集元数据 -->
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
|
<Authors>Sharp Team</Authors>
|
||||||
|
<Company>Sharp Team</Company>
|
||||||
|
<Product>Sharp Framework</Product>
|
||||||
|
<Copyright>Copyright © 2024 Sharp Team</Copyright>
|
||||||
|
<Description>Sharp Framework 数据访问库 - EF Core + Repository 模式,支持审计、软删除等企业级功能</Description>
|
||||||
|
|
||||||
|
<!-- NuGet 包元数据 -->
|
||||||
|
<PackageId>Sharp.Data</PackageId>
|
||||||
|
<PackageProjectUrl>https://github.com/your-org/sharp-basic</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/your-org/sharp-basic</RepositoryUrl>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<PackageTags>sharp;data;efcore;repository;entity-framework</PackageTags>
|
||||||
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -6,6 +6,24 @@
|
|||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<AssemblyName>Sharp.EventBus</AssemblyName>
|
<AssemblyName>Sharp.EventBus</AssemblyName>
|
||||||
<RootNamespace>Sharp.EventBus</RootNamespace>
|
<RootNamespace>Sharp.EventBus</RootNamespace>
|
||||||
|
|
||||||
|
<!-- 程序集元数据 -->
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
|
<Authors>Sharp Team</Authors>
|
||||||
|
<Company>Sharp Team</Company>
|
||||||
|
<Product>Sharp Framework</Product>
|
||||||
|
<Copyright>Copyright © 2024 Sharp Team</Copyright>
|
||||||
|
<Description>Sharp Framework 事件总线库 - 进程内事件发布/订阅(规划中)</Description>
|
||||||
|
|
||||||
|
<!-- NuGet 包元数据 -->
|
||||||
|
<PackageId>Sharp.EventBus</PackageId>
|
||||||
|
<PackageProjectUrl>https://github.com/your-org/sharp-basic</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/your-org/sharp-basic</RepositoryUrl>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<PackageTags>sharp;eventbus;pub-sub;events</PackageTags>
|
||||||
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -4,6 +4,24 @@
|
|||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
|
||||||
|
<!-- 程序集元数据 -->
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
|
<Authors>Sharp Team</Authors>
|
||||||
|
<Company>Sharp Team</Company>
|
||||||
|
<Product>Sharp Framework</Product>
|
||||||
|
<Copyright>Copyright © 2024 Sharp Team</Copyright>
|
||||||
|
<Description>Sharp Framework 日志库 - 基于 Serilog 的结构化日志系统,支持文件、控制台等多种输出</Description>
|
||||||
|
|
||||||
|
<!-- NuGet 包元数据 -->
|
||||||
|
<PackageId>Sharp.Log</PackageId>
|
||||||
|
<PackageProjectUrl>https://github.com/your-org/sharp-basic</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/your-org/sharp-basic</RepositoryUrl>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<PackageTags>sharp;log;logging;serilog;structured-logging</PackageTags>
|
||||||
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -4,6 +4,24 @@
|
|||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
|
||||||
|
<!-- 程序集元数据 -->
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
|
<Authors>Sharp Team</Authors>
|
||||||
|
<Company>Sharp Team</Company>
|
||||||
|
<Product>Sharp Framework</Product>
|
||||||
|
<Copyright>Copyright © 2024 Sharp Team</Copyright>
|
||||||
|
<Description>Sharp Framework HTTP 客户端库 - 集成 Polly 弹性策略的 HTTP 客户端</Description>
|
||||||
|
|
||||||
|
<!-- NuGet 包元数据 -->
|
||||||
|
<PackageId>Sharp.NetClient</PackageId>
|
||||||
|
<PackageProjectUrl>https://github.com/your-org/sharp-basic</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/your-org/sharp-basic</RepositoryUrl>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<PackageTags>sharp;http;client;polly;resilience</PackageTags>
|
||||||
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -5,6 +5,24 @@
|
|||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<RootNamespace>Sharp.NetServer</RootNamespace>
|
<RootNamespace>Sharp.NetServer</RootNamespace>
|
||||||
|
|
||||||
|
<!-- 程序集元数据 -->
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
|
<Authors>Sharp Team</Authors>
|
||||||
|
<Company>Sharp Team</Company>
|
||||||
|
<Product>Sharp Framework</Product>
|
||||||
|
<Copyright>Copyright © 2024 Sharp Team</Copyright>
|
||||||
|
<Description>Sharp Framework HTTP 服务器库 - 轻量级 HTTP 服务器,支持中间件和路由</Description>
|
||||||
|
|
||||||
|
<!-- NuGet 包元数据 -->
|
||||||
|
<PackageId>Sharp.NetServer</PackageId>
|
||||||
|
<PackageProjectUrl>https://github.com/your-org/sharp-basic</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/your-org/sharp-basic</RepositoryUrl>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<PackageTags>sharp;http;server;middleware;routing</PackageTags>
|
||||||
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -4,6 +4,24 @@
|
|||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
|
||||||
|
<!-- 程序集元数据 -->
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
|
<Authors>Sharp Team</Authors>
|
||||||
|
<Company>Sharp Team</Company>
|
||||||
|
<Product>Sharp Framework</Product>
|
||||||
|
<Copyright>Copyright © 2024 Sharp Team</Copyright>
|
||||||
|
<Description>Sharp Framework 西门子 PLC 库 - 基于 S7.NET+ 的西门子 PLC 通信实现(S7-1200/1500/300/400)</Description>
|
||||||
|
|
||||||
|
<!-- NuGet 包元数据 -->
|
||||||
|
<PackageId>Sharp.Plc.Siemens</PackageId>
|
||||||
|
<PackageProjectUrl>https://github.com/your-org/sharp-basic</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/your-org/sharp-basic</RepositoryUrl>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<PackageTags>sharp;plc;siemens;s7;industrial;automation</PackageTags>
|
||||||
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -4,6 +4,24 @@
|
|||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
|
||||||
|
<!-- 程序集元数据 -->
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
|
<Authors>Sharp Team</Authors>
|
||||||
|
<Company>Sharp Team</Company>
|
||||||
|
<Product>Sharp Framework</Product>
|
||||||
|
<Copyright>Copyright © 2024 Sharp Team</Copyright>
|
||||||
|
<Description>Sharp Framework PLC 抽象库 - 工业 PLC 通信的统一接口定义</Description>
|
||||||
|
|
||||||
|
<!-- NuGet 包元数据 -->
|
||||||
|
<PackageId>Sharp.Plc</PackageId>
|
||||||
|
<PackageProjectUrl>https://github.com/your-org/sharp-basic</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/your-org/sharp-basic</RepositoryUrl>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<PackageTags>sharp;plc;industrial;automation;interface</PackageTags>
|
||||||
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -5,6 +5,24 @@
|
|||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<RootNamespace>Ports</RootNamespace>
|
<RootNamespace>Ports</RootNamespace>
|
||||||
|
|
||||||
|
<!-- 程序集元数据 -->
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
|
<Authors>Sharp Team</Authors>
|
||||||
|
<Company>Sharp Team</Company>
|
||||||
|
<Product>Sharp Framework</Product>
|
||||||
|
<Copyright>Copyright © 2024 Sharp Team</Copyright>
|
||||||
|
<Description>Sharp Framework 串口通信库 - RS232/RS485 串口通信抽象和实现</Description>
|
||||||
|
|
||||||
|
<!-- NuGet 包元数据 -->
|
||||||
|
<PackageId>Sharp.Ports</PackageId>
|
||||||
|
<PackageProjectUrl>https://github.com/your-org/sharp-basic</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/your-org/sharp-basic</RepositoryUrl>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<PackageTags>sharp;serial-port;rs232;rs485;communication</PackageTags>
|
||||||
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -5,6 +5,24 @@
|
|||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<RootNamespace>Sharp.Process</RootNamespace>
|
<RootNamespace>Sharp.Process</RootNamespace>
|
||||||
|
|
||||||
|
<!-- 程序集元数据 -->
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
|
<Authors>Sharp Team</Authors>
|
||||||
|
<Company>Sharp Team</Company>
|
||||||
|
<Product>Sharp Framework</Product>
|
||||||
|
<Copyright>Copyright © 2024 Sharp Team</Copyright>
|
||||||
|
<Description>Sharp Framework 进程管理库 - 外部进程执行、管理和监控</Description>
|
||||||
|
|
||||||
|
<!-- NuGet 包元数据 -->
|
||||||
|
<PackageId>Sharp.Process</PackageId>
|
||||||
|
<PackageProjectUrl>https://github.com/your-org/sharp-basic</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/your-org/sharp-basic</RepositoryUrl>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<PackageTags>sharp;process;execution;management</PackageTags>
|
||||||
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -5,6 +5,24 @@
|
|||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<RootNamespace>Sharp.Python</RootNamespace>
|
<RootNamespace>Sharp.Python</RootNamespace>
|
||||||
|
|
||||||
|
<!-- 程序集元数据 -->
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
|
<Authors>Sharp Team</Authors>
|
||||||
|
<Company>Sharp Team</Company>
|
||||||
|
<Product>Sharp Framework</Product>
|
||||||
|
<Copyright>Copyright © 2024 Sharp Team</Copyright>
|
||||||
|
<Description>Sharp Framework Python 集成库 - Python 脚本执行和互操作</Description>
|
||||||
|
|
||||||
|
<!-- NuGet 包元数据 -->
|
||||||
|
<PackageId>Sharp.Python</PackageId>
|
||||||
|
<PackageProjectUrl>https://github.com/your-org/sharp-basic</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/your-org/sharp-basic</RepositoryUrl>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<PackageTags>sharp;python;scripting;integration</PackageTags>
|
||||||
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -8,8 +8,32 @@
|
|||||||
<UseWPF>true</UseWPF>
|
<UseWPF>true</UseWPF>
|
||||||
<AssemblyName>Sharp.Demo</AssemblyName>
|
<AssemblyName>Sharp.Demo</AssemblyName>
|
||||||
<RootNamespace>Sharp.Demo</RootNamespace>
|
<RootNamespace>Sharp.Demo</RootNamespace>
|
||||||
|
|
||||||
|
<!-- 程序集元数据 -->
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
|
<Authors>Sharp Team</Authors>
|
||||||
|
<Company>Sharp Team</Company>
|
||||||
|
<Product>Sharp Framework</Product>
|
||||||
|
<Copyright>Copyright © 2024 Sharp Team</Copyright>
|
||||||
|
<Description>Sharp Framework 综合演示应用 - 展示所有模块的最佳实践和使用方式</Description>
|
||||||
|
|
||||||
|
<!-- NuGet 包元数据 -->
|
||||||
|
<PackageId>Sharp.Demo</PackageId>
|
||||||
|
<PackageProjectUrl>https://github.com/your-org/sharp-basic</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/your-org/sharp-basic</RepositoryUrl>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<PackageTags>sharp;demo;wpf;framework;example;best-practices</PackageTags>
|
||||||
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<!-- 包含 README 到 NuGet 包 -->
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="README.md" Pack="true" PackagePath="\" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- NuGet 包 -->
|
<!-- NuGet 包 -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
|
||||||
|
|||||||
@@ -7,6 +7,24 @@
|
|||||||
<UseWPF>true</UseWPF>
|
<UseWPF>true</UseWPF>
|
||||||
<RootNamespace>Sharp.Wpf.DevTools</RootNamespace>
|
<RootNamespace>Sharp.Wpf.DevTools</RootNamespace>
|
||||||
<AssemblyName>Sharp.Wpf.DevTools</AssemblyName>
|
<AssemblyName>Sharp.Wpf.DevTools</AssemblyName>
|
||||||
|
|
||||||
|
<!-- 程序集元数据 -->
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
|
<Authors>Sharp Team</Authors>
|
||||||
|
<Company>Sharp Team</Company>
|
||||||
|
<Product>Sharp Framework</Product>
|
||||||
|
<Copyright>Copyright © 2024 Sharp Team</Copyright>
|
||||||
|
<Description>Sharp Framework WPF 开发者工具库 - 可视化树查看器、日志查看器、性能监控器</Description>
|
||||||
|
|
||||||
|
<!-- NuGet 包元数据 -->
|
||||||
|
<PackageId>Sharp.Wpf.DevTools</PackageId>
|
||||||
|
<PackageProjectUrl>https://github.com/your-org/sharp-basic</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/your-org/sharp-basic</RepositoryUrl>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<PackageTags>sharp;wpf;devtools;debugging;performance;logging</PackageTags>
|
||||||
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -8,6 +8,24 @@
|
|||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
<AssemblyName>Sharp.Wpf.HandyControl</AssemblyName>
|
<AssemblyName>Sharp.Wpf.HandyControl</AssemblyName>
|
||||||
<RootNamespace>Sharp.Wpf.HandyControl</RootNamespace>
|
<RootNamespace>Sharp.Wpf.HandyControl</RootNamespace>
|
||||||
|
|
||||||
|
<!-- 程序集元数据 -->
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
|
<Authors>Sharp Team</Authors>
|
||||||
|
<Company>Sharp Team</Company>
|
||||||
|
<Product>Sharp Framework</Product>
|
||||||
|
<Copyright>Copyright © 2024 Sharp Team</Copyright>
|
||||||
|
<Description>Sharp Framework WPF HandyControl 集成库 - HandyControl 3.5 UI 库集成</Description>
|
||||||
|
|
||||||
|
<!-- NuGet 包元数据 -->
|
||||||
|
<PackageId>Sharp.Wpf.HandyControl</PackageId>
|
||||||
|
<PackageProjectUrl>https://github.com/your-org/sharp-basic</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/your-org/sharp-basic</RepositoryUrl>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<PackageTags>sharp;wpf;handycontrol;ui;theme</PackageTags>
|
||||||
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -9,6 +9,24 @@
|
|||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
<AssemblyName>Sharp.Wpf</AssemblyName>
|
<AssemblyName>Sharp.Wpf</AssemblyName>
|
||||||
<RootNamespace>Sharp.Wpf</RootNamespace>
|
<RootNamespace>Sharp.Wpf</RootNamespace>
|
||||||
|
|
||||||
|
<!-- 程序集元数据 -->
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
|
<Authors>Sharp Team</Authors>
|
||||||
|
<Company>Sharp Team</Company>
|
||||||
|
<Product>Sharp Framework</Product>
|
||||||
|
<Copyright>Copyright © 2024 Sharp Team</Copyright>
|
||||||
|
<Description>Sharp Framework WPF 库 - MVVM 基础设施、对话框服务、转换器等(无 UI 库依赖)</Description>
|
||||||
|
|
||||||
|
<!-- NuGet 包元数据 -->
|
||||||
|
<PackageId>Sharp.Wpf</PackageId>
|
||||||
|
<PackageProjectUrl>https://github.com/your-org/sharp-basic</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/your-org/sharp-basic</RepositoryUrl>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<PackageTags>sharp;wpf;mvvm;dialogs;converters</PackageTags>
|
||||||
|
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
Reference in new issue
Block a user