XinMai.Extensions by 辛麦科技(Dragon)-WeChat:shxinmai

<PackageReference Include="XinMai.Extensions" Version="1.0.0.7" />

 StringExtensions

public static class StringExtensions
public static byte[] Compress(this byte[] Source)

public static string Compress(this string Source)

public static byte[] Decompress(this byte[] Source)

public static string Decompress(string Source)

public static bool IsDateTime(this string Source)

public static bool IsInt(this string Source)

public static bool IsIntArray(this string[] Source)

public static bool IsIntArray(this List<string> Source)

public static bool IsNotEmpty(this string Source)

public static bool IsNotNull(this object Source)

public static bool IsSqlFilter(this string Source)

public static bool IsTel(this string Source)

public static bool IsUrl(this string Source)

public static bool IsWeekday(this DateTime Source)

public static bool IsWeekend(this DateTime Source)

public static string RandomCode(int length)

public static string ToAes(this string Source)

public static string ToApiMD5(this string Source)

public static string ToBase64String(this byte[] Source)

public static string ToBase64String(this string Source)

public static string ToBinary(this string Source)

public static bool ToBoolen(this string Source)

public static bool ToBoolen(this object Source)

public static string ToCharSpellCode(this string Source)

public static string ToChineseSpellLower(this string Source)

public static string ToChineseSpellUpper(this string Source)

public static string ToClearHtml(this string Source)

public static DateTime ToDateTime(this string Source)

public static DateTime ToDateTime(this long timestamp)

public static DateTime ToDateTime(this object Source)

public static DateTime ToDateTime(this DateTime Source, int Type = 0)

public static DateTime ToDateTime(this DateTime? Source, int Type = 0)

public static decimal ToDecimal(this string Source)

public static decimal ToDecimal(this object Source)

public static string ToDecrypt(this string Source)

public static string ToDecrypt(this string Source, string Key)

public static string ToDecrypt(this string Source, Encoding encoding)

public static double ToDouble(this string Source)

public static double ToDouble(this object Source)

public static string ToEncrypt(this string Source)

public static string ToEncrypt(this string Source, string Key)

public static float ToFloat(this string Source)

public static float ToFloat(this object Source)

public static string ToHex(this long Source)

public static string ToHide(this string Source)

public static string ToIndexUpper(this object Source)

public static string ToInitial(this string Source)

public static int ToInt(this string Source)

public static int ToInt(this object Source)

public static long ToIpLong(string Source)

public static long ToIpLong(this IPAddress Source)

public static string ToIVDecrypt(this string Source)

public static string ToIVEncrypt(this string Source)

public static long ToLong(this string Source)

public static long ToLong(this object Source)

public static string ToMD5(this string Source)

public static string ToMD5(this string Source, Encoding code)

public static string ToMiniDecrypt(this string Source, string SessionKey, string iv)

public static string ToMiniEncrypt(this string Source, string SessionKey, string iv)

public static decimal ToMoney(this decimal Source)

public static decimal ToMoney(this decimal? Source)

public static decimal ToMoney(this int Source)

public static string ToOctal(this long Source)

public static string ToPinYin(this string Source)

public static string ToQQ(this string Source)

public static List<double> ToRegexsMoney(this decimal Source, int Count)

public static long ToTimestamp(this DateTime dateTime)

public static int ToTotalAmount(this decimal Source)

public static int ToTotalAmount(this decimal? Source)

public static string ToUnAes(this string Source)

public static string ToUnBinary(this string Source)

public static string ToUnHex(this long Source)

public static string ToUnOctal(this long Source)