ZYH.Units
1.0.8
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package ZYH.Units --version 1.0.8
NuGet\Install-Package ZYH.Units -Version 1.0.8
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="ZYH.Units" Version="1.0.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ZYH.Units --version 1.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ZYH.Units, 1.0.8"
#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.
// Install ZYH.Units as a Cake Addin
#addin nuget:?package=ZYH.Units&version=1.0.8
// Install ZYH.Units as a Cake Tool
#tool nuget:?package=ZYH.Units&version=1.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ZYH.Units 基础单元工具
功能
- Serializer → 支持json和xml的序列化及反序列化
- Random → 支持生成随机码
- HttpFormData → 支持为http提供的文件包装器
- HtmlPaging → 支持html分页
- 扩展System.Text.Json.JsonElement → 支持将对象转换为T对象
- 扩展System.Net.Http.HttpClient → 支持get\post json\post kv\post xml\post multipart form
- 扩展System.IO.MemoryStream → 支持保存为文件
- 扩展System.byte[] → 支持保存为文件
- 扩展System.DateTime → 支持将DateTime转换为符合中国习惯的表示方式 \ 转换为时间截
- 扩展System.Int64 → 支持将13位或10位时间截转换为DateTime
- 扩展System.Int → 支持将13位或10位时间截转换为DateTime
- 扩展System.String → 支持将13位或10位时间截转换为DateTime \ 从unicode解码 \ md5加密 \ aes加解密 \ sha256加密 \ sha1加密
更新日志
1.0.4 增加DateTime扩展方法支持转换为时间截 1.0.7 增加String扩展方法ToWeiXin支持将中文转换为微信所需要的字符集对应的字符串 1.0.8 删除String扩展方法ToWeiXin方法
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 | netcoreapp3.1 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ZYH.Units:
Package | Downloads |
---|---|
ZYH.WeiXin.Pay
代理微信支付服务 |
GitHub repositories
This package is not used by any popular GitHub repositories.