C# Class IrcShark.Extensions.Scripting.Script

Represents a loaded script.
Inheritance: System.MarshalByRefObject
ファイルを表示 Open project: hapm/IrcShark

Public Methods

Method Description
Execute ( string name, object parameters ) : object

Executes a method that is defined in the script.

Script ( IScriptEngine engine ) : System

Initializes a new instance of the Script class.

Method Details

Execute() public method

Executes a method that is defined in the script.
public Execute ( string name, object parameters ) : object
name string The name of the method.
parameters object The parameters for the method.
return object

Script() public method

Initializes a new instance of the Script class.
public Script ( IScriptEngine engine ) : System
engine IScriptEngine The engine, this script was compiled with.
return System