You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
514 B
20 lines
514 B
namespace Sanhe.Abp.PinyinConverter; |
|
|
|
/// <summary> |
|
/// 拼音转换器。 |
|
/// </summary> |
|
public interface IPinyinConverter |
|
{ |
|
/// <summary> |
|
/// 文本字符串的拼音 |
|
/// </summary> |
|
/// <param name="text">文本字符串</param> |
|
/// <returns></returns> |
|
string ToPinyin(string text); |
|
/// <summary> |
|
/// 文本字符串的拼音首字母 |
|
/// </summary> |
|
/// <param name="text">文本字符串</param> |
|
/// <returns></returns> |
|
string ToPinyinInitials(string text); |
|
}
|
|
|