Exemplo n.º 1
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);
        }
Exemplo n.º 2
0
 public PartOfSpeechController()
 {
     this._partOfSpeechRepository = new PartOfSpeechRepository(Settings.GetStringDB());
 }