TBC.CommonLib 1.2.0

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

// Install TBC.CommonLib as a Cake Tool
#tool nuget:?package=TBC.CommonLib&version=1.2.0                

打造一个符合每个人需求的通用工具帮助类

  • 扩展方法类,数据类型转换,字符串转其他类型,包括枚举,日期,json,数字,布尔,列表,对象等(Fetch方法支持查找json深层次值,例如传入user:sex,可以获取json对象中的user对象的sex值,可以无限嵌套);列表转字符串等,具体请查看代码Convert.cs
  • 数据校验类,验证字符串是否是空、电话号码、邮箱等,具体请查看代码Verify.cs
  • 工具类,敏感信息脱敏、身份证相关方法、时间相关方法、反射、网络请求、md5、AES加密/解密、RSA加密/解密、HttpContext扩展方法、文件夹操作,具体请查看代码Tools.cs
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 netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen 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 (1)

Showing the top 1 NuGet packages that depend on TBC.CommonLib:

Package Downloads
UnifyBot

统一机器人,基于onebot11协议的sdk,支持多实例机器人。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.0 57 10/15/2024
1.1.4.4 73 9/30/2024
1.1.4.3 81 9/26/2024
1.1.4.2 108 9/24/2024
1.1.4.1 94 9/24/2024
1.1.4 105 9/20/2024 1.1.4 is deprecated because it has critical bugs.
1.1.3 95 6/7/2024
1.1.2 146 5/30/2024
1.1.1 131 5/18/2024
1.1.0 94 5/11/2024
1.0.9 112 5/6/2024
1.0.7 333 4/2/2024
1.0.6 120 2/27/2024
1.0.5 97 2/27/2024
1.0.4 121 2/23/2024
1.0.2 103 2/1/2024
1.0.1 100 1/25/2024
1.0.0 96 1/24/2024

降低依赖.net 8 -> .net standerd2.1