hongmao.HmExtension.Standard 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package hongmao.HmExtension.Standard --version 1.0.1                
NuGet\Install-Package hongmao.HmExtension.Standard -Version 1.0.1                
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.Standard" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add hongmao.HmExtension.Standard --version 1.0.1                
#r "nuget: hongmao.HmExtension.Standard, 1.0.1"                
#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.Standard as a Cake Addin
#addin nuget:?package=hongmao.HmExtension.Standard&version=1.0.1

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

虹猫通用扩展包

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 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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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.

Version Downloads Last updated
1.0.1.4 80 7/29/2024
1.0.1.2 105 7/10/2024
1.0.1 118 7/2/2024
1.0.0.9 119 6/27/2024
1.0.0.8 107 6/26/2024
1.0.0.6 169 6/24/2024

1. 完善部分注释
2. ByteArrayExtension新增CRC校验方法
3. ByteArrayExtension将byte[]转short,ushort,int,uing,long,ulong,float,double等类型时需要反转数组的问题修改为不需要进行反转
4. 新增可直接将枚举器直接转换为short,ushort,int,uing,long,ulong,float,double等类型
5. 新增直接打印枚举器
6. 新增Commons,Events,Extensions,utils,WindowApi命名空间
7. 新增如下帮助类:
   - ExcelHelper: Excel操作帮助类
   - FtpHelper: FTP操作帮助类
   - HashHelper: Hash操作帮助类
   - ImageHelper: 图片操作帮助类
   - IniHelper: Ini文件操作帮助类
   - IpHelper: IP操作帮助类
   - JsHelper: Js操作帮助类
   - LogHelper: 日志操作帮助类
   - MultiThreadDownloader: 多线程下载帮助类
   - ProcessHelper: 进程操作帮助类
   - RsaHelper: Rsa操作帮助类
   - SystemHelper: 系统操作帮助类
   - TypeHelper: 反射操作帮助类
8. 新增如下API:
   - HotKeyHelper: 热键操作API
   - KeyHook: 键盘钩子API
   - MouseHook: 鼠标钩子API
   - MessageHook: 消息钩子API
   - WinApi: Windows API
9. 更新依赖包版本