Decompose() static private method

static private Decompose ( string source, int checkType ) : string
source string
checkType int
return string
        private static string Decompose(string source, int checkType)
        {
            StringBuilder stringBuilder = null;

            Normalization.Decompose(source, ref stringBuilder, checkType);
            return((stringBuilder == null) ? source : stringBuilder.ToString());
        }
        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));
            }
        }
        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());
        }