C# Class Nexus.Client.Updating.ProgrammeUpdater

Updates the programme.
Inheritance: UpdaterBase
Exibir arquivo Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
ProgrammeUpdater ( IEnvironmentInfo p_eifEnvironmentInfo, bool p_booIsAutoCheck ) : System

A simple constructor that initializes the object with the given values.

Update ( ) : bool

Performs the update.

Private Methods

Method Description
CancelUpdate ( ) : bool

Cancels the update.

This is a convience method that allows the setting of the message and the determination of the return value in one call.

GetNewProgrammeVersion ( string &p_strDownloadUri ) : System.Version

Gets the newest available programme version.

Method Details

ProgrammeUpdater() public method

A simple constructor that initializes the object with the given values.
public ProgrammeUpdater ( IEnvironmentInfo p_eifEnvironmentInfo, bool p_booIsAutoCheck ) : System
p_eifEnvironmentInfo IEnvironmentInfo The application's envrionment info.
p_booIsAutoCheck bool Whether the check is automatic or user requested.
return System

Update() public method

Performs the update.
public Update ( ) : bool
return bool