Class IWritableArchiveExtensions
- Namespace
- SharpCompress.Archive
- Assembly
- SharpCompress.dll
public static class IWritableArchiveExtensions
- Inheritance
-
IWritableArchiveExtensions
- Inherited Members
-
Methods
AddAllFromDirectory(IWritableArchive, string, string, SearchOption)
public static void AddAllFromDirectory(this IWritableArchive writableArchive, string filePath, string searchPattern = "*.*", SearchOption searchOption = SearchOption.AllDirectories)
Parameters
writableArchive
IWritableArchive
filePath
string
searchPattern
string
searchOption
SearchOption
AddEntry(IWritableArchive, string, FileInfo)
public static IArchiveEntry AddEntry(this IWritableArchive writableArchive, string key, FileInfo fileInfo)
Parameters
writableArchive
IWritableArchive
key
string
fileInfo
FileInfo
Returns
- IArchiveEntry
AddEntry(IWritableArchive, string, string)
public static void AddEntry(this IWritableArchive writableArchive, string entryPath, string filePath)
Parameters
writableArchive
IWritableArchive
entryPath
string
filePath
string
SaveTo(IWritableArchive, FileInfo, CompressionInfo)
public static void SaveTo(this IWritableArchive writableArchive, FileInfo fileInfo, CompressionInfo compressionInfo)
Parameters
writableArchive
IWritableArchive
fileInfo
FileInfo
compressionInfo
CompressionInfo
SaveTo(IWritableArchive, FileInfo, CompressionType)
public static void SaveTo(this IWritableArchive writableArchive, FileInfo fileInfo, CompressionType compressionType)
Parameters
writableArchive
IWritableArchive
fileInfo
FileInfo
compressionType
CompressionType
SaveTo(IWritableArchive, Stream, CompressionType)
public static void SaveTo(this IWritableArchive writableArchive, Stream stream, CompressionType compressionType)
Parameters
writableArchive
IWritableArchive
stream
Stream
compressionType
CompressionType
SaveTo(IWritableArchive, string, CompressionInfo)
public static void SaveTo(this IWritableArchive writableArchive, string filePath, CompressionInfo compressionInfo)
Parameters
writableArchive
IWritableArchive
filePath
string
compressionInfo
CompressionInfo
SaveTo(IWritableArchive, string, CompressionType)
public static void SaveTo(this IWritableArchive writableArchive, string filePath, CompressionType compressionType)
Parameters
writableArchive
IWritableArchive
filePath
string
compressionType
CompressionType