public TranslationWriter(string localDefault) { _localDefault = localDefault; var connectionString = Settings.GetStringDB(); translationRep = new TranslationRepository(connectionString); localeRep = new LocaleRepository(connectionString); ts = new TranslationSubstringRepository(connectionString); }
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); }
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); }
public LanguageController() { _localeRepository = new LocaleRepository(Settings.GetStringDB()); }