public project_settings load_package(string project_name) { project_settings data = JsonFile <project_settings> .Load(project_file_location + project_name + ".package"); if (data == null) { return(null); } return(data); }
public bool new_package(project_settings project) { if (String.IsNullOrWhiteSpace(project.name)) { return(false); } try{ project.Save(project_file_location + project.name + ".package"); return(true); } catch (Exception ex) { return(false); } }