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

Describes the newest info available for a mod.
Afficher le fichier Open project: NexusMods/NexusModManager-4.5

Méthodes publiques

Méthode 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 méthode

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.
Résultat bool

UpdateInfo() public méthode

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.
Résultat System