FileInfoExtensions Class
Extension of FileInfo
Namespace
Songhay.Extensions
Base Types
  • object
graph BT Type-->Base0["object"] Type["FileInfoExtensions"] class Type type-node

Syntax

public static class FileInfoExtensions

Methods

Name Return Value Summary
ReadZipArchiveEntries(FileInfo, Action<string>, Func<ReadOnlyCollection<ZipArchiveEntry>, IEnumerable<ZipArchiveEntry>>) void
Read zip archive entries.
static
ReadZipArchiveEntries(FileInfo, Action<string>) void
Read zip archive entries.
static
ReadZipArchiveEntriesByLine(FileInfo, Action<int, string>, Func<ReadOnlyCollection<ZipArchiveEntry>, IEnumerable<ZipArchiveEntry>>) void
Read zip archive entries as strings, line by line.
static
ReadZipArchiveEntriesByLine(FileInfo, Action<int, string>) void
Read zip archive entries as strings, line by line.
static
UseZipArchive(FileInfo, Action<ZipArchive?>) void
Centralizes the use of ZipArchive
static
UseZipArchiveEntries(FileInfo, Action<ReadOnlyCollection<ZipArchiveEntry>>, Func<ReadOnlyCollection<ZipArchiveEntry>, ReadOnlyCollection<ZipArchiveEntry>>) void
Centralizes the use of System.Collections.ObjectModel.ReadOnlyCollection`1.
static
UseZipArchiveEntries(FileInfo, Action<ReadOnlyCollection<ZipArchiveEntry>>) void
Centralizes the use of ReadOnlyCollection<T>.
static
WriteZipArchiveEntry(FileInfo, FileInfo, CompressionLevel) void
Write zip archive entry.
static
WriteZipArchiveEntry(FileInfo, FileInfo) void
Write zip archive entry with CompressionLevel.Optimal.
static