Пример #1
0
        public TranslationWriter(string localDefault)
        {
            _localDefault = localDefault;
            var connectionString = Settings.GetStringDB();

            translationRep = new TranslationRepository(connectionString);
            localeRep      = new LocaleRepository(connectionString);

            ts = new TranslationSubstringRepository(connectionString);
        }
Пример #2
0
        public ProjectController()
        {
            string connectionString = Settings.GetStringDB();

            _localizationProjectRepository         = new LocalizationProjectRepository(connectionString);
            _localizationProjectsLocalesRepository = new LocalizationProjectsLocalesRepository(connectionString);
            _localeRepository     = new LocaleRepository(connectionString);
            _userActionRepository = new UserActionRepository(connectionString);
            ur = new UserRepository(connectionString);
            _participantsRepository = new ParticipantRepository(connectionString);
            _roleRepository         = new RoleRepository(connectionString);
        }
Пример #3
0
        public ReadWriteFileController()
        {
            string connectionString = Settings.GetStringDB();

            _localizationProjectRepository = new LocalizationProjectRepository(connectionString);
            _localeRepository               = new LocaleRepository(connectionString);
            _translationRepository          = new TranslationRepository(connectionString);
            _translationSubstringRepository = new TranslationSubstringRepository(connectionString);
            _IXmlNodeExtensions             = new IXmlNodeExtensions(connectionString);
            _glossaryRepository             = new GlossaryRepository(connectionString);
            _partOfSpeechRepository         = new PartOfSpeechRepository(connectionString);
        }
Пример #4
0
 public LanguageController()
 {
     _localeRepository = new LocaleRepository(Settings.GetStringDB());
 }