C# Class Nexus.Client.ModManagement.Scripting.CSharpScript.ScriptRunner

Runs a C# script.
This class is meant to be run in a sandboxed domain in order to limit the possible damage from malicious or poorly written code.
Inheritance: System.MarshalByRefObject
Afficher le fichier Open project: NexusMods/NexusModManager-4.5

Méthodes publiques

Méthode Description
Execute ( byte p_bteScript ) : bool

Executes the given script.

ScriptRunner ( CSharpScriptFunctionProxy p_csfFunctions ) : System

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

Method Details

Execute() public méthode

Executes the given script.
public Execute ( byte p_bteScript ) : bool
p_bteScript byte The bytes of the assembly containing the script to execute.
Résultat bool

ScriptRunner() public méthode

A simple construtor that initializes the object with the given dependencies.
public ScriptRunner ( CSharpScriptFunctionProxy p_csfFunctions ) : System
p_csfFunctions CSharpScriptFunctionProxy The object that implements the script functions.
Résultat System