Beispiel #1
0
        /// <summary>
        /// 获取多语言
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        public string L(string name)
        {
            IGlobalResourcesService globalResourcesService = IocObjectManager.GetInstance().Resolve <IGlobalResourcesService>();

            return(globalResourcesService.GetValue(name, Thread.CurrentThread.CurrentUICulture.Name));
        }
Beispiel #2
0
 public string L(string name)
 {
     return(_globalResourcesService.GetValue(name, Thread.CurrentThread.CurrentUICulture.Name));
 }