Xbgit.Tools 1.0.0-Alpha7

This is a prerelease version of Xbgit.Tools.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Xbgit.Tools --version 1.0.0-Alpha7
                    
NuGet\Install-Package Xbgit.Tools -Version 1.0.0-Alpha7
                    
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="Xbgit.Tools" Version="1.0.0-Alpha7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Xbgit.Tools" Version="1.0.0-Alpha7" />
                    
Directory.Packages.props
<PackageReference Include="Xbgit.Tools" />
                    
Project file
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 Xbgit.Tools --version 1.0.0-Alpha7
                    
#r "nuget: Xbgit.Tools, 1.0.0-Alpha7"
                    
#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 Xbgit.Tools@1.0.0-Alpha7
                    
#: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=Xbgit.Tools&version=1.0.0-Alpha7&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Xbgit.Tools&version=1.0.0-Alpha7&prerelease
                    
Install as a Cake Tool

Xbgit.Tools - 综合工具包

概述

Xbgit.Tools 是一个综合性的工具包,提供了多种实用功能,包括网络通信、日志记录、数据处理、文件操作等。适用于 .NET 9.0 开发环境,旨在简化开发流程并提高效率。

功能模块

1. Core - 核心工具

提供基础的通用工具类:

  • StringUtils.cs:字符串操作工具。

  • DateTimeUtils.cs:日期时间处理工具。

  • EnumUtils.cs:枚举扩展工具。

2. Data - 数据处理工具

提供数据相关的工具类:

  • DatabaseUtils.cs:数据库操作工具。

3. Device - 设备相关工具

提供设备相关的工具类:

  • AndroidUtils.cs:Android 平台设备工具。

4. File - 文件操作工具

提供文件操作相关的工具类:

  • GzipUtils.cs:GZIP 压缩与解压工具。

5. Net - 网络通信工具

提供网络通信相关的工具类:

  • MqttUtils.cs:MQTT 协议工具。
  • HttpUtils.cs:HTTP 请求工具。

6. Log - 日志记录工具

提供日志记录相关的工具类:

  • RasUtils.cs:基于 MQTT 的日志发送工具。

7. Exceptions - 自定义异常

提供自定义异常类:

  • CustomException.cs:自定义异常工具。

安装

使用 NuGet 包管理器

dotnet add package Xbgit.Tools --version 1.0.0

使用 PackageReference

在你的 .csproj 文件中添加以下行:

<PackageReference Include="Xbgit.Tools" Version="1.0.0" />

版本历史

1.0.0

  • 初始版本

许可证

本项目基于 自定义许可证

贡献

欢迎贡献代码和报告问题!请参考 贡献指南

联系方式

  • 作者: 张天宝
  • 公司: xbgit.cn
  • 邮箱: ztianb@foxmail.com
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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 was computed.  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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

1.0.0-Alpha7:扩展 JsonUtils 类,添加以下功能
           - 序列化和反序列化方法
           - 文件操作方法
           - 不定内容的 JSON 处理方法
           - 自定义选项的序列化和反序列化方法
           - JSON 格式化方法
           - JSON 验证方法
           - JSON 合并方法