Beispiel #1
0
        /// <summary>
        /// 设置值
        /// </summary>
        public static bool SetValue(string _ILanguage, string _IDomain, string _IKey, string _IValue)
        {
            bool      reVal = true;
            ILanguage Lang  = new IOLanguage();

            reVal = Lang.SetValue(_ILanguage, _IDomain, _IKey, _IValue);

            return(reVal);
        }
Beispiel #2
0
        /// <summary>
        /// 设置值
        /// </summary>
        public static bool SetValue(string _ILanguage, string _IKeyPath, string _IValue)
        {
            bool reVal = false;

            string[] KeyPath = _IKeyPath.Split('/');
            if (KeyPath.Length == 2)
            {
                ILanguage LangData = new IOLanguage();
                reVal = LangData.SetValue(_ILanguage, KeyPath[0], KeyPath[1], _IValue);
            }

            return(reVal);
        }