C# Class Nexus.Client.ModManagement.Scripting.XmlScript.XmlScriptExecutor

Executes an XML script.
Inheritance: ScriptExecutorBase
Show file Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
DoExecute ( IScript p_scpScript ) : bool

Executes the script.

XmlScriptExecutor ( IMod p_modMod, IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, InstallerGroup p_igpInstallers, SynchronizationContext p_scxUIContext ) : System

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

Method Details

DoExecute() public method

Executes the script.
Thrown if is not an /// .
public DoExecute ( IScript p_scpScript ) : bool
p_scpScript IScript The XMl Script to execute.
return bool

XmlScriptExecutor() public method

A simple constructor that initializes the object with the required dependencies.
public XmlScriptExecutor ( IMod p_modMod, IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, InstallerGroup p_igpInstallers, SynchronizationContext p_scxUIContext ) : System
p_modMod IMod The mod for which the script is running.
p_gmdGameMode IGameMode The game mode currently being managed.
p_eifEnvironmentInfo IEnvironmentInfo The application's envrionment info.
p_igpInstallers InstallerGroup The utility class to use to install the mod items.
p_scxUIContext System.Threading.SynchronizationContext The to use to marshall UI interactions to the UI thread.
return System