Пример #1
0
        public ConfigManager (ProfileManager profileMgr, SysConfiguration sysConfig)
        {
            m_ProfileManager = profileMgr;

            m_SysConfigCollection = new Dictionary<string, SysConfiguration>();
            //TODO: Remove the configuration setting here
            sysConfig.m_SysConfigID = "DefaultConfig";
            m_SysConfigCollection.Add("DefaultConfig", sysConfig);
        }
Пример #2
0
        public SysConfigManager()
        {
            //create profile manager with default user profile
            ProfileManager profileManager = new ProfileManager();

            SysConfiguration systemConfiguration = new SysConfiguration();

            //create configuration manager with profile manager and default system configuration.
            ConfigManager m_ConfigMgr = new ConfigManager(profileManager, systemConfiguration);

            //create system configuraiton manager interface
            m_SysConfigMgrAccess = new SysConfigMgrAccess(m_ConfigMgr);
        }