public InitializationFacade( ICurrencyRepository currencyRepository, DataStrategyFactory dataStrategyFactory) { _currencyRepository = currencyRepository; _dataStrategyFactory = dataStrategyFactory; }
private void ArchiveDataInit() { string strDBpath = Properties.Settings.Default.ArchiveDBPath; ArchiveDbReader = DataStrategyFactory.GetFactory().GetArchiveReader(strDBpath); if (ArchiveDbReader == null) { return; } ExtractArchiveList(); return; }
private void RuntimeDataInit() { string strDBpath = Properties.Settings.Default.DataBasePath; DataReader = DataStrategyFactory.GetFactory().GetDataReader(strDBpath); if (DataReader == null) { return; } ExtractAllList(); ExtractRelation(); return; }