Пример #1
0
        private void InitializeStorages()
        {
            m_configurationStorage.Initialize();
            m_firmwareDefinitionStorage.Initialize();
            m_resourcePackStorage.Initialize();

            m_definitions   = m_firmwareDefinitionStorage.LoadAll();
            m_configuration = m_configurationStorage.TryLoad(Paths.SettingsFile) ?? new ApplicationConfiguration();
            m_mruFirmwares  = new MruList <string>(m_configuration.MostRecentlyUsed);
            m_patchManager.InitializeStorage(m_definitions);
        }
Пример #2
0
        private void InitializeStorages()
        {
            m_configurationStorage.Initialize();
            m_firmwareDefinitionStorage.Initialize();
            m_resourcePackStorage.Initialize();

            m_definitions   = m_firmwareDefinitionStorage.LoadAll().ToList();
            m_configuration = m_configurationStorage.TryLoad(NFEPaths.SettingsFile) ?? new ApplicationConfiguration();
            m_mruFirmwares  = new MruList <string>(m_configuration.MostRecentlyUsed);
            m_patchManager.InitializeStorage(m_definitions);
            //m_updatesManager.SetupInitialData(Consts.ApplicationVersion, m_definitions);
        }