Exemple #1
0
 public DictionaryService(
     IRequestCultureManager requestCultureManager,
     IAutoDictionaryManager autoDictionaryManager
     ) : base(requestCultureManager)
 {
     m_dictionaryManager = autoDictionaryManager;
 }
Exemple #2
0
 public LocalizationService(
     IRequestCultureManager requestCultureManager,
     IAutoLocalizationManager autoLocalizationManager
     ) : base(requestCultureManager)
 {
     m_localizationManager = autoLocalizationManager;
 }
Exemple #3
0
 public DynamicTextService(
     IRequestCultureManager requestCultureManager,
     IDatabaseDictionaryManager databaseDictionaryManager,
     IDatabaseDynamicTextService databaseDynamicTextService
     ) : base(requestCultureManager)
 {
     m_databaseDictionaryManager  = databaseDictionaryManager;
     m_databaseDynamicTextService = databaseDynamicTextService;
 }
 public AttributeStringLocalizerFactory(
     IRequestCultureManager requestCultureManager,
     IAutoDictionaryManager autoDictionaryManager,
     IAutoLocalizationManager autoLocalizationManager
     )
 {
     m_dictionaryManager       = autoDictionaryManager;
     m_autoLocalizationManager = autoLocalizationManager;
     m_requestCultureManager   = requestCultureManager;
 }
Exemple #5
0
 public AttributeStringLocalizer(
     IRequestCultureManager requestCultureManager,
     IAutoDictionaryManager dictionaryManager,
     IAutoLocalizationManager autoLocalizationManager,
     string baseName,
     LocTranslationSource location
     ) : this(requestCultureManager, dictionaryManager, autoLocalizationManager, baseName, location, null)
 {
     //Should be empty
 }
Exemple #6
0
 private AttributeStringLocalizer(
     IRequestCultureManager requestCultureManager,
     IAutoDictionaryManager dictionaryManager,
     IAutoLocalizationManager autoLocalizationManager,
     string baseName,
     LocTranslationSource location,
     CultureInfo cultureInfo
     )
 {
     m_requestCultureManager = requestCultureManager;
     m_dictionaryManager     = dictionaryManager;
     m_baseName = baseName;
     m_location = location;
     m_autoLocalizationManager = autoLocalizationManager;
     m_currentCultureInfo      = cultureInfo;
 }
Exemple #7
0
 protected ServiceBase(
     IRequestCultureManager requestCultureManager
     )
 {
     m_requestCultureManager = requestCultureManager;
 }