C# 클래스 Nexus.Client.Mods.ModCompressorBase

This class is subclassed to compress a source folder into a specific mod format.
상속: IModCompressor
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5

공개 메소드들

메소드 설명
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