public LPConfig(string path) { if (File.Exists(path)) { _config = JsonConfigPersister.LoadConfig(path); } else { _config = new JObject(); } }
public void SaveSettings(string filePath) { JsonConfigPersister.SaveConfig(_config, filePath); }
public LPConfig(string path) { if (File.Exists(path)) { _config = JsonConfigPersister.LoadConfig(path); } else { _config = new JObject(); } }
public void SaveSettings(string filePath) { JsonConfigPersister.SaveConfig(_config, filePath); }