public LocalizationManager(ILanguageContextProvider languageContextProvider, IEnumerable<string> allowedLanguages) : this(languageContextProvider)
 {
     if(allowedLanguages != null)
     {
         AllowedLangages = allowedLanguages.ToList();
     }
 }
Exemple #2
0
 public LocalizationManager(ILanguageContextProvider languageContextProvider, IEnumerable <string> allowedLanguages) : this(languageContextProvider)
 {
     if (allowedLanguages != null)
     {
         AllowedLangages = allowedLanguages.ToList();
     }
 }
        public LocalizationManager(ILanguageContextProvider languageContextProvider)
        {
            LanguageContextProvider = languageContextProvider;

            IsInitialzed = false;

            PresentedLanguages = new List<string>();

            PresentedLanguagesDescriptions = null;
        }
Exemple #4
0
        public LocalizationManager(ILanguageContextProvider languageContextProvider)
        {
            LanguageContextProvider = languageContextProvider;

            IsInitialzed = false;

            PresentedLanguages = new List <string>();

            PresentedLanguagesDescriptions = null;
        }
        public LocalizationManager SetLanguageContextProvider(ILanguageContextProvider value)
        {
            LanguageContextProvider = value;

            return this;
        }
Exemple #6
0
        public LocalizationManager SetLanguageContextProvider(ILanguageContextProvider value)
        {
            LanguageContextProvider = value;

            return(this);
        }