TBC.CommonLib
1.2.4.1
dotnet add package TBC.CommonLib --version 1.2.4.1
NuGet\Install-Package TBC.CommonLib -Version 1.2.4.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="TBC.CommonLib" Version="1.2.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TBC.CommonLib" Version="1.2.4.1" />
<PackageReference Include="TBC.CommonLib" />
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 TBC.CommonLib --version 1.2.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TBC.CommonLib, 1.2.4.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.
#:package TBC.CommonLib@1.2.4.1
#: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=TBC.CommonLib&version=1.2.4.1
#tool nuget:?package=TBC.CommonLib&version=1.2.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
打造一个符合每个人需求的通用工具帮助类
- 扩展方法类,数据类型转换,字符串转其他类型,包括枚举,日期,json,数字,布尔,列表,对象等(Fetch方法支持查找json深层次值,例如传入user:sex,可以获取json对象中的user对象的sex值,可以无限嵌套);列表转字符串等,具体请查看代码Convert.cs
- 数据校验类,验证字符串是否是空、电话号码、邮箱等,具体请查看代码Verify.cs
- 工具类,敏感信息脱敏、身份证相关方法、时间相关方法、反射、网络请求、md5、AES加密/解密、RSA加密/解密、HttpContext扩展方法、文件夹操作,具体请查看代码Tools.cs
| 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. net9.0 was computed. 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. |
| .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.
-
.NETStandard 2.1
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Newtonsoft.Json (>= 13.0.3)
- System.Text.Encodings.Web (>= 9.0.0)
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.2.4.1 | 248 | 1/5/2025 | |
| 1.2.4 | 215 | 11/25/2024 | |
| 1.2.3 | 155 | 11/6/2024 | |
| 1.2.2 | 148 | 11/1/2024 | |
| 1.2.1 | 149 | 11/1/2024 | |
| 1.2.0 | 294 | 10/15/2024 | |
| 1.1.4.4 | 165 | 9/30/2024 | |
| 1.1.4.3 | 169 | 9/26/2024 | |
| 1.1.4.2 | 223 | 9/24/2024 | |
| 1.1.4.1 | 179 | 9/24/2024 | |
| 1.1.4 | 209 | 9/20/2024 | |
| 1.1.3 | 159 | 6/7/2024 | |
| 1.1.2 | 259 | 5/30/2024 | |
| 1.1.1 | 208 | 5/18/2024 | |
| 1.1.0 | 160 | 5/11/2024 | |
| 1.0.9 | 184 | 5/6/2024 | |
| 1.0.7 | 543 | 4/2/2024 | |
| 1.0.6 | 188 | 2/27/2024 | |
| 1.0.5 | 166 | 2/27/2024 | |
| 1.0.4 | 192 | 2/23/2024 |
Loading failed
降低依赖.net 8 -> .net standerd2.1