public void WriteExportPath(string path) { if (path == null) { return; } PackageExportConfig.WriteExportPath(path); }
public string UpdateExportPath(string exportPath) { if (exportPath != null) { if (string.IsNullOrEmpty(PackageExportConfig.ExportPath) || (exportPath.CompareTo(PackageExportConfig.ExportPath) != 0)) { if (!(exportPath.EndsWith(@"\") || exportPath.EndsWith("/"))) { exportPath = exportPath + "/"; } PackageExportConfig.WriteExportPath(exportPath); } } return(PackageExportConfig.ExportPath); }