|
|
@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Myshipping.Core.Helper
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
public static class PinYinHelper
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
|
|
|
|
///// 获取拼音码(首字母)
|
|
|
|
|
|
|
|
///// </summary>
|
|
|
|
|
|
|
|
///// <param name="name"></param>
|
|
|
|
|
|
|
|
///// <returns></returns>
|
|
|
|
|
|
|
|
//public static string GetPinYinCodeFirst(string name)
|
|
|
|
|
|
|
|
//{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
|
|
|
|
///// 获取拼音码(全品)
|
|
|
|
|
|
|
|
///// </summary>
|
|
|
|
|
|
|
|
///// <param name="name"></param>
|
|
|
|
|
|
|
|
///// <returns></returns>
|
|
|
|
|
|
|
|
//public static string GetPinYinCodeFull(string name)
|
|
|
|
|
|
|
|
//{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|