C# Класс Nexus.Client.Mods.Formats.FOMod.FOModModCompressor

This class is subclassed to compress a source folder into a FOMod.
Наследование: ModCompressorBase
Показать файл Открыть проект

Открытые методы

Метод Описание
Compress ( string p_strSourcePath, string p_strDestinationPath ) : void

Compresses the specified source folder into a mod file at the specified destination.

If the desitnation file exists, it will be overwritten.

FOModModCompressor ( IEnvironmentInfo p_eifEnvironmentInfo ) : System

A simple constructor that initializes with its dependencies.

Приватные методы

Метод Описание
Compressor_FileCompressionStarted ( object sender, SevenZip.FileNameEventArgs e ) : void

Handles the SevenZipCompressor.FileCompressionStarted event of the file compressor being used to compress the mod.

This checks to see if the compression has been cancelled.

Описание методов

Compress() публичный Метод

Compresses the specified source folder into a mod file at the specified destination.
If the desitnation file exists, it will be overwritten.
public Compress ( string p_strSourcePath, string p_strDestinationPath ) : void
p_strSourcePath string The folder to compress into a mod file.
p_strDestinationPath string The path of the mod file to create.
Результат void

FOModModCompressor() публичный Метод

A simple constructor that initializes with its dependencies.
public FOModModCompressor ( IEnvironmentInfo p_eifEnvironmentInfo ) : System
p_eifEnvironmentInfo IEnvironmentInfo The application's envrionment info.
Результат System