Class ZipArchiveExtensions
Nupkg reading helper methods
public static class ZipArchiveExtensions
- Inheritance
-
ZipArchiveExtensions
- Inherited Members
Methods
GetFiles(ZipArchive)
public static IEnumerable<string> GetFiles(this ZipArchive zipArchive)
Parameters
zipArchiveZipArchive
Returns
LookupEntry(ZipArchive, string)
public static ZipArchiveEntry LookupEntry(this ZipArchive zipArchive, string path)
Parameters
zipArchiveZipArchivepathstring
Returns
OpenFile(ZipArchive, string)
public static Stream OpenFile(this ZipArchive zipArchive, string path)
Parameters
zipArchiveZipArchivepathstring
Returns
SaveAsFile(ZipArchiveEntry, string, ILogger)
public static string SaveAsFile(this ZipArchiveEntry entry, string fileFullPath, ILogger logger)
Parameters
entryZipArchiveEntryfileFullPathstringloggerILogger
Returns
UpdateFileTimeFromEntry(ZipArchiveEntry, string, ILogger)
public static void UpdateFileTimeFromEntry(this ZipArchiveEntry entry, string fileFullPath, ILogger logger)
Parameters
entryZipArchiveEntryfileFullPathstringloggerILogger