C# Class Nexus.Client.ModManagement.AutoUpdater.UpdateInfo

Describes the newest info available for a mod.
Show file Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
IsMatchingVersion ( string p_strVersion ) : bool

Determines if the given version is the same as the version in this update info.

UpdateInfo ( IMod p_modMod, IModInfo p_strNewestInfo ) : System

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

Method Details

IsMatchingVersion() public method

Determines if the given version is the same as the version in this update info.
public IsMatchingVersion ( string p_strVersion ) : bool
p_strVersion string The version to match.
return bool

UpdateInfo() public method

A simple constructor that initializes the object with the given values.
public UpdateInfo ( IMod p_modMod, IModInfo p_strNewestInfo ) : System
p_modMod IMod The mod for which the information was retrieved.
p_strNewestInfo IModInfo The newest info available for the mod.
return System