public void ClosedEvent()
        {
            TwitterSetting.OnClose();
            CodicSettingTab.OnClose();
            CharacterSetting.OnClose();
            SlackSetting.OnClose();
            LauncherSetting.OnClose();

            ServiceLocator.Instance.ClearConfigBaseContext();
        }
예제 #2
0
        public bool GetBool(string name)
        {
            LauncherSetting setting = settingsList.Find(s => s.Name == name);

            return((setting != null) ? Convert.ToBoolean(setting.Value) : false);
        }
예제 #3
0
        public int GetInt(string name)
        {
            LauncherSetting setting = settingsList.Find(s => s.Name == name);

            return((setting != null) ? Convert.ToInt32(setting.Value) : 0);
        }
예제 #4
0
        public string GetString(string name)
        {
            LauncherSetting setting = settingsList.Find(s => s.Name == name);

            return((setting != null) ? setting.Value.ToString() : null);
        }
예제 #5
0
        internal string GetType(string name)
        {
            LauncherSetting setting = settingsList.Find(s => s.Name == name);

            return((setting != null) ? setting.Type : "e");
        }