hongmao.HmExtension.Commons 1.0.1.6

dotnet add package hongmao.HmExtension.Commons --version 1.0.1.6                
NuGet\Install-Package hongmao.HmExtension.Commons -Version 1.0.1.6                
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="hongmao.HmExtension.Commons" Version="1.0.1.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add hongmao.HmExtension.Commons --version 1.0.1.6                
#r "nuget: hongmao.HmExtension.Commons, 1.0.1.6"                
#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 hongmao.HmExtension.Commons as a Cake Addin
#addin nuget:?package=hongmao.HmExtension.Commons&version=1.0.1.6

// Install hongmao.HmExtension.Commons as a Cake Tool
#tool nuget:?package=hongmao.HmExtension.Commons&version=1.0.1.6                

虹猫通用扩展包

1. 介绍

该扩展包是虹猫系统的通用扩展包,提供了一些常用类的扩展方法,以及一些常用的工具类。

主要包括以下内容:

  • 扩展类
类名 说明
ObjectExtension Object扩展类
StringExtension String扩展类
CollectionExtension 集合扩展类
BaseTypeExtension 基础类型扩展类
ByteArrayExtension Byte数组扩展类
StreamExtension 流扩展类(v1.0.0.3加入)

2. 安装

dotnet add package hongmao.HmExtension --version 1.0.0.2

3. 更新日志

v1.0.0.3

  1. ObjectExtension类新增FormatPatten方法
  2. StringExtension类新增IsDataUrl方法
  3. StringExtension类新增FromBase64ToBytes方法
  4. StringExtension类新增FromBitmap方法
  5. ByteArrayExtension类新增ToMd5方法
  6. ByteArrayExtension类新增ToBase64方法
  7. ByteArrayExtension类新增ToBitmap方法
  8. 新增StreamExtension类
  9. 新增BitmapExtension类

v1.0.0.2

  • 修复了一些bug
  • 优化了一些代码
  • StringExtension类新增FromJson方法
  • StringExtension类新增ToQRCode方法
  • ObjectExtension类新增ToJson方法

v1.0.0.1

  • 初始版本
  • 提供了Object、String、Collection、BaseType、ByteArray等类的扩展方法
Product Compatible and additional computed target framework versions.
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on hongmao.HmExtension.Commons:

Package Downloads
hongmao.HmExtension.Pay

目前支持支付宝部分API

hongmao.HmExtension

该扩展包是虹猫的通用扩展包的Framework的兼容包

hongmao.HmExtension.Standard

该扩展包是虹猫的通用扩展包的.Net Core兼容包

hongmao.DBHelper

该扩展包是虹猫科技提供的数据库帮助类

hongmao.HmExtension.Face

该扩展包是虹猫的通用扩展包的人脸识别模块

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1.6 133 9/19/2024
1.0.1.5 151 8/9/2024
1.0.1.4 148 7/29/2024
1.0.1.3 109 7/11/2024
1.0.1.2 154 7/10/2024

1. 新增添加字节到字节数组方法
2. 修复截取字符串时,反转结果不正确的问题