private ConfigInquiry() { try { CfgSettings = Utils.DeserializeObjectXMLFile<ConfigSettings>(SettingsFullFilePath); } catch (Exception) { CfgSettings = new ConfigSettings(); } LoadPlugins(); LoginData = new LoginDataSettings(); }
public object Clone() { ConfigSettings result = new ConfigSettings(); result.DbConnectionPlugin.AddRange(DbConnectionPlugin); return result; }
public void SaveSettings(ConfigSettings newSettings) { CfgSettings = newSettings; Utils.SerializeObjectXMLFile<ConfigSettings>(CfgSettings, SettingsFullFilePath); }