C# Class Nexus.Client.Updating.UpdateManager

Manages the programme's updaters.
显示文件 Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
Update ( ConfirmActionMethod p_camConfirm, bool p_booIsAutoCheck ) : IBackgroundTask

Runs the managed updaters.

UpdateManager ( IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo ) : Nexus.Client.BackgroundTasks

A simple constructor that initializes the object with its dependencies.

Method Details

Update() public method

Runs the managed updaters.
public Update ( ConfirmActionMethod p_camConfirm, bool p_booIsAutoCheck ) : IBackgroundTask
p_camConfirm ConfirmActionMethod The delegate to call to confirm an action.
p_booIsAutoCheck bool Whether the check is automatic or user requested.
return IBackgroundTask

UpdateManager() public method

A simple constructor that initializes the object with its dependencies.
public UpdateManager ( IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo ) : Nexus.Client.BackgroundTasks
p_gmdGameMode IGameMode The current game mode.
p_eifEnvironmentInfo IEnvironmentInfo The application's envrionment info.
return Nexus.Client.BackgroundTasks