public InitializationFacade(
     ICurrencyRepository currencyRepository,
     DataStrategyFactory dataStrategyFactory)
 {
     _currencyRepository  = currencyRepository;
     _dataStrategyFactory = dataStrategyFactory;
 }
Esempio n. 2
0
        private void ArchiveDataInit()
        {
            string strDBpath = Properties.Settings.Default.ArchiveDBPath;

            ArchiveDbReader = DataStrategyFactory.GetFactory().GetArchiveReader(strDBpath);
            if (ArchiveDbReader == null)
            {
                return;
            }
            ExtractArchiveList();
            return;
        }
Esempio n. 3
0
        private void RuntimeDataInit()
        {
            string strDBpath = Properties.Settings.Default.DataBasePath;

            DataReader = DataStrategyFactory.GetFactory().GetDataReader(strDBpath);
            if (DataReader == null)
            {
                return;
            }
            ExtractAllList();
            ExtractRelation();
            return;
        }