YaseiAkira.Tools 1.0.0.1

YaseiAkira.Tools

There is a newer version of this package available.
See the version list below for details.
Install-Package YaseiAkira.Tools -Version 1.0.0.1
dotnet add package YaseiAkira.Tools --version 1.0.0.1
<PackageReference Include="YaseiAkira.Tools" Version="1.0.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add YaseiAkira.Tools --version 1.0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: YaseiAkira.Tools, 1.0.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install YaseiAkira.Tools as a Cake Addin
#addin nuget:?package=YaseiAkira.Tools&version=1.0.0.1

// Install YaseiAkira.Tools as a Cake Tool
#tool nuget:?package=YaseiAkira.Tools&version=1.0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

/// <summary> /// 隐藏特定字符串内容为* /// </summary> /// <param name="value">输入字符串</param> /// <param name="startLen">前保留位置</param> /// <param name="endLen">后保留位置</param> /// <param name="specialChar">特殊字符</param> /// <param name="returnOldWhenError">是否出错时返回原字符串,传入false则返回长度为value.lenght的特殊字符串</param> /// <returns>返回经过替换的字符串 如123**789</returns> public static string ReplaceWithSpecialChar(this string value, int startLen = 4, int endLen = 4, char specialChar = '', bool returnOldWhenError = true)

/// <summary> /// 隐藏特定字符串内容为* /// </summary> /// <param name="value">输入字符串</param> /// <param name="startLen">前保留位置</param> /// <param name="endLen">后保留位置</param> /// <param name="specialChar">特殊字符</param> /// <param name="returnOldWhenError">是否出错时返回原字符串,传入false则返回长度为value.lenght的特殊字符串</param> /// <returns>返回经过替换的字符串 如123**789</returns> public static string ReplaceWithSpecialChar(this string value, int startLen = 4, int endLen = 4, char specialChar = '', bool returnOldWhenError = true)

Release Notes

YaseiAkira.Tools

Dependencies

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on YaseiAkira.Tools:

Package Downloads
YaseiAkira.WX
封装微信相关接口,目前只有普通商户支付和服务商支付接口V2版

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.7 42 8/11/2021
1.0.6 137 2/26/2021
1.0.5 191 7/14/2020
1.0.4 235 12/21/2019
1.0.3 212 11/1/2019
1.0.2 226 9/24/2019
1.0.1 228 9/9/2019
1.0.0.9 380 12/19/2018
1.0.0.8 355 12/19/2018
1.0.0.7 424 10/15/2018
1.0.0.4 589 5/28/2018
1.0.0.3 521 5/25/2018
1.0.0.1 540 4/26/2018
1.0.0 569 3/10/2018
Show less