internal static string ProcessWithoutLanguageProcessor(TextObject to)
        {
            if (to == null)
            {
                return((string)null);
            }
            if (TextObject.IsNullOrEmpty(to))
            {
                return("");
            }
            string localizedText = MBTextManager.GetLocalizedText(to.Value);

            return(string.IsNullOrEmpty(to.Value) ? "" : MBTextManager.Process(localizedText, to));
        }
        internal static string ProcessTextToString(TextObject to)
        {
            if (to == null)
            {
                return((string)null);
            }
            if (TextObject.IsNullOrEmpty(to))
            {
                return("");
            }
            string localizedText = MBTextManager.GetLocalizedText(to.Value);
            string str;

            if (!string.IsNullOrEmpty(to.Value))
            {
                string text = MBTextManager.Process(localizedText, to);
                str = MBTextManager._languageProcessor.Process(text);
            }
            else
            {
                str = "";
            }
            return(str);
        }