Click or drag to resize

ArchiveExtractorExtractArchiveTo Method (DirectoryInfo, ListArchiveExtractorFilePattern, ListArchiveExtractorFilePattern, ListArchiveExtractorFilePattern, ListArchiveExtractorMapping)

Executes the extraction of the archive to the specified folder.

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public bool ExtractArchiveTo(
	DirectoryInfo folder,
	List<ArchiveExtractorFilePattern> noOverwrites,
	List<ArchiveExtractorFilePattern> exclusions,
	List<ArchiveExtractorFilePattern> includeOnly,
	List<ArchiveExtractorMapping> mappings
)

Parameters

folder
Type: System.IODirectoryInfo
The location where files must be extracted.
noOverwrites
Type: System.Collections.GenericListArchiveExtractorFilePattern
Rules to identify files that must be skipped if already found at the extraction location.
exclusions
Type: System.Collections.GenericListArchiveExtractorFilePattern
Rules to identify files that must be skipped.
includeOnly
Type: System.Collections.GenericListArchiveExtractorFilePattern
Rules to identify the only files that must be processed.
mappings
Type: System.Collections.GenericListArchiveExtractorMapping
Custom extraction rules to change the way a file will be extracted.

Return Value

Type: Boolean
True if extracted, false otherwise.
See Also