Esempio n. 1
0
        /// <summary>
        ///     获取英文文本
        /// </summary>
        /// <param name="text"></param>
        /// <returns></returns>
        public static string GetEnglishText(string text)
        {
            string[] result = null;

            object obj = TranslateHelper.TranslatorString(new[] { text });

            if (obj != null)
            {
                result = (string[])obj;
            }

            return((result != null && result.Length > 0) ? result[3] : "");
        }