C# Class Pluton.JSPlugin

Inheritance: BasePlugin
Datei anzeigen Open project: Notulp/Pluton

Public Properties

Property Type Description
Engine Jint.JintEngine
Program Jint.Expressions.Program

Public Methods

Method Description
GetGlobalObject ( string identifier ) : object
Invoke ( string func ) : object

Invoke the specified method and args.

JSPlugin ( string name, string code, DirectoryInfo rootdir ) : System

Initializes a new instance of the Pluton.JSPlugin class.

Load ( string code = "" ) : void
importClass ( string type ) : Jint.Native.JsInstance

Method Details

GetGlobalObject() public method

public GetGlobalObject ( string identifier ) : object
identifier string
return object

Invoke() public method

Invoke the specified method and args.
public Invoke ( string func ) : object
func string Func.
return object

JSPlugin() public method

Initializes a new instance of the Pluton.JSPlugin class.
public JSPlugin ( string name, string code, DirectoryInfo rootdir ) : System
name string Name.
code string Code.
rootdir System.IO.DirectoryInfo Rootdir.
return System

Load() public method

public Load ( string code = "" ) : void
code string
return void

importClass() public method

public importClass ( string type ) : Jint.Native.JsInstance
type string
return Jint.Native.JsInstance

Property Details

Engine public_oe property

public JintEngine,Jint Engine
return Jint.JintEngine

Program public_oe property

public Program,Jint.Expressions Program
return Jint.Expressions.Program