Пример #1
0
        private LocalizedView create(string viewPath, string name, CultureInfo culture, string translatedText)
        {
            var result = new LocalizedView();

            result.ViewPath = viewPath;
            result.TextName = name;
            result.Update(new ViewPromptKey(viewPath, name), translatedText, culture);
            return(result);
        }
 private LocalizedView create(string viewPath, string name, CultureInfo culture, string translatedText)
 {
     var result = new LocalizedView();
     result.ViewPath = viewPath;
     result.TextName = name;
     result.Update(new ViewPromptKey(viewPath, name), translatedText, culture);
     return result;
 }