witeem.ExtensionTools
1.0.2
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 witeem.ExtensionTools --version 1.0.2
NuGet\Install-Package witeem.ExtensionTools -Version 1.0.2
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="witeem.ExtensionTools" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add witeem.ExtensionTools --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: witeem.ExtensionTools, 1.0.2"
#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 witeem.ExtensionTools as a Cake Addin #addin nuget:?package=witeem.ExtensionTools&version=1.0.2 // Install witeem.ExtensionTools as a Cake Tool #tool nuget:?package=witeem.ExtensionTools&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
加密解密工具类:EncyptHelper
/// <summary>
/// <para> </para>
/// 常用工具类——加密解密类
/// <para> -------------------------------------------------</para>
/// <para> StringEncode:返回 HTML 字符串的编码结果</para>
/// <para> StringDecode:返回 HTML 字符串的解码结果</para>
/// <para> UrlEncode:返回 URL 字符串的编码结果</para>
/// <para> UrlDecode:返回 URL 字符串的解码结果</para>
/// <para> DESEncrypt:DES加密</para>
/// <para> DESDecrypt:DES解密</para>
/// <para> MD5:MD5函数</para>
/// <para> AESEncrypt:AES加密</para>
/// <para> AESDecrypt:AES解密</para>
/// </summary>
字符串工具类:StringHelper
/// <summary>
/// <para> </para>
/// 常用工具类——字符串工具类
/// <para> -------------------------------------------------</para>
/// <para> FirstLetterToUpperCase:首字母大写</para>
/// <para> ToJson:将一个对象转换为json字符串</para>
/// <para> ToObject:将json字符串转换为对象</para>
/// <para> ToArray:将字符串转换为数组(逗号分割)</para>
/// <para> StrLength:得到长度,一个汉字长度为2</para>
/// <para> SplitMulti:分割字符串</para>
/// <para> IsBase64:检查一个字符串是否是Base64字符串</para>
/// <para> IsNumber:检查一个字符串是否是纯数字构成的,一般用于查询字符串参数的有效性验证。(0除外)</para>
/// <para> IsDouble:是否为Double类型</para>
/// <para> IsNullOrEmpty:判断对象是否为空,为空返回true</para>
/// <para> QuickValidate:快速验证一个字符串是否符合指定的正则表达式。</para>
/// <para> Base64Encode:将字符串转换成base64格式,使用UTF8字符集. </para>
/// <para> Base64Decode:将base64格式,转换utf8。</para>
/// </summary>
类型工具类:TypeHelper
/// <summary>
/// <para> </para>
/// 常用工具类——类型工具类
/// <para> -------------------------------------------------</para>
/// <para> IsDeriveClassFrom:判断当前类型是否可由指定类型派生</para>
/// <para> IsNullableType:判断类型是否为Nullable类型</para>
/// <para> GetNonNullableType:由类型的Nullable类型返回实际类型</para>
/// <para> CheckNotNull: 检查参数不能为空引用,否则抛出ArgumentNullException异常</para>
/// <para> NotNull: 检查参数不能为空引用,否则抛出ArgumentNullException异常</para>
/// </summary>
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.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.Extensions.Configuration (>= 5.0.0)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 5.0.0)
- Microsoft.Extensions.Configuration.FileExtensions (>= 5.0.0)
- Microsoft.Extensions.Configuration.Json (>= 5.0.0)
- Newtonsoft.Json (>= 13.0.1)
- System.ComponentModel.Annotations (>= 5.0.0)
- ThoughtWorks.QRCode.Standard (>= 1.0.1.6)
- Yitter.IdGenerator (>= 1.0.12)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on witeem.ExtensionTools:
Package | Downloads |
---|---|
witeem.AspNetCore
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
个人学习案例,不提供使用