C# Класс Nexus.Client.Mods.ModCompressorBase

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

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

Метод Описание
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.

ModCompressorBase ( IEnvironmentInfo p_eifEnvironmentInfo ) : System.ComponentModel

A simple constructor that initializes with its dependencies.

Защищенные методы

Метод Описание
OnFileCompressionFinished ( CancelEventArgs e ) : void

Raises the FileCompressionFinished event.

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

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

Compresses the specified source folder into a mod file at the specified destination.
If the desitnation file exists, it will be overwritten.
public abstract 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

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

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

OnFileCompressionFinished() защищенный Метод

Raises the FileCompressionFinished event.
protected OnFileCompressionFinished ( CancelEventArgs e ) : void
e System.ComponentModel.CancelEventArgs A describing the event arguments.
Результат void