示例#1
0
文件: Program.cs 项目: kangaroo/cli
 private static IEnumerable<string> GenerateLines(LibraryExport export, IEnumerable<LibraryAsset> items, string type)
 {
     return items.Select(item =>
         EscapeCsv(export.Library.Identity.Type.Value) + "," +
         EscapeCsv(export.Library.Identity.Name) + "," +
         EscapeCsv(export.Library.Identity.Version.ToNormalizedString()) + "," +
         EscapeCsv(export.Library.Hash) + "," +
         EscapeCsv(type) + "," +
         EscapeCsv(item.Name) + "," +
         EscapeCsv(item.RelativePath) + ",");
 }
示例#2
0
文件: Program.cs 项目: kangaroo/cli
 private static void CopyExport(string outputPath, LibraryExport export)
 {
     CopyFiles(export.RuntimeAssemblies, outputPath);
     CopyFiles(export.NativeLibraries, outputPath);
 }