Decompose() статический приватный Метод

static private Decompose ( string source, int checkType ) : string
source string
checkType int
Результат string
Пример #1
0
        private static string Decompose(string source, int checkType)
        {
            StringBuilder stringBuilder = null;

            Normalization.Decompose(source, ref stringBuilder, checkType);
            return((stringBuilder == null) ? source : stringBuilder.ToString());
        }
Пример #2
0
        public static string Normalize(string source, int type)
        {
            switch (type)
            {
            case 1:
            case 3:
                return(Normalization.Decompose(source, type));

            default:
                return(Normalization.Compose(source, type));
            }
        }
Пример #3
0
        private static string Compose(string source, int checkType)
        {
            StringBuilder stringBuilder = null;

            Normalization.Decompose(source, ref stringBuilder, checkType);
            if (stringBuilder == null)
            {
                stringBuilder = Normalization.Combine(source, 0, checkType);
            }
            else
            {
                Normalization.Combine(stringBuilder, 0, checkType);
            }
            return((stringBuilder == null) ? source : stringBuilder.ToString());
        }