/// /// <summary> /// Prepares a list of all the project's targets, then /// sends them to be written to file. /// </summary> /// <param name="proName">Project name</param> /// <param name="filePath">Save file location</param> /// <returns>True if the export was successful</returns> public bool exportIPs(string proName, string filePath) { List <TargetSettings> lstTS = getTargets(proName); ExportIPs exIPs = new ExportIPs(filePath, lstTS); bool status = exIPs.writeToFile(); return(status); }
/// /// <summary> /// Prepares a list of all the project's targets, then /// sends them to be written to file. /// </summary> /// <param name="proName">Project name</param> /// <param name="filePath">Save file location</param> /// <returns>True if the export was successful</returns> public bool exportIPs(string proName, string filePath) { List<TargetSettings> lstTS = getTargets(proName); ExportIPs exIPs = new ExportIPs(filePath, lstTS); bool status = exIPs.writeToFile(); return status; }