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());
        }