Exemplo n.º 1
0
 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) + ",");
 }
Exemplo n.º 2
0
 private static void CopyExport(string outputPath, LibraryExport export)
 {
     CopyFiles(export.RuntimeAssemblies, outputPath);
     CopyFiles(export.NativeLibraries, outputPath);
 }