Пример #1
0
        private string GetCustomerNameKana(string value, IEnumerable <string> legalPersonalities)
        {
            if (string.IsNullOrWhiteSpace(value))
            {
                return(dummyKana);
            }

            value = EbDataHelper.ConvertToHankakuKatakana(value);
            value = EbDataHelper.ConvertProhibitCharacter(value);
            value = EbDataHelper.RemoveProhibitCharacter(value);
            value = RemoveChars(value);
            value = EbDataHelper.RemoveLegalPersonality(value, legalPersonalities);
            if (string.IsNullOrWhiteSpace(value))
            {
                value = dummyKana;
            }
            return(value);
        }
Пример #2
0
 /// <summary>法人格情報削除処理</summary>
 /// <param name="value"></param>
 /// <returns></returns>
 internal string RemoveLegalPersonality(string value)
 {
     return(EbDataHelper.RemoveLegalPersonality(value, LegalPersonalities));
 }