Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="orgString"></param>
        /// <returns></returns>
        internal static String GetTranslatedString(RuntimeHostSurface runtimeHostSurface, String orgString)
        {
            String     retString = orgString;
            ITranslate host      = (ITranslate)runtimeHostSurface.GetService(typeof(ITranslate));

            if (host != null)
            {
                retString = host.GetTranslateString(orgString);
            }

            return(retString);
        }