C# Class Nexus.Client.GameDetectionVM

This class encapsulates the data and the operations presented by UI elements that display the progress of game detection.
显示文件 Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
Cancel ( ) : void

Cancels the search for installed games.

GameDetectionVM ( IEnvironmentInfo p_eifEnvironmentInfo, GameDiscoverer p_gdvGameDetector, GameModeRegistry p_gmrSupportedGameModes ) : Nexus.Client.Games

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

Method Details

Cancel() public method

Cancels the search for installed games.
public Cancel ( ) : void
return void

GameDetectionVM() public method

A simple constructor that initializes the object with the given dependencies.
public GameDetectionVM ( IEnvironmentInfo p_eifEnvironmentInfo, GameDiscoverer p_gdvGameDetector, GameModeRegistry p_gmrSupportedGameModes ) : Nexus.Client.Games
p_eifEnvironmentInfo IEnvironmentInfo The application's envrionment info.
p_gdvGameDetector Nexus.Client.Games.GameDiscoverer The discoverer to use to find the game installation path.
p_gmrSupportedGameModes Nexus.Client.Games.GameModeRegistry The list of supported game modes.
return Nexus.Client.Games