コード例 #1
0
    public void WriteExportPath(string path)
    {
        if (path == null)
        {
            return;
        }

        PackageExportConfig.WriteExportPath(path);
    }
コード例 #2
0
    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);
    }