C# Class Pluton.PYPlugin

PY plugin.
Inheritance: BasePlugin
Show file Open project: Notulp/Pluton

Public Properties

Property Type Description
LibPath string
Scope ScriptScope

Public Methods

Method Description
FormatException ( Exception ex ) : string

Format exceptions to give meaningful reports.

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

Invoke the specified method and args.

Load ( string code = "" ) : void
PYPlugin ( string name, string code, DirectoryInfo rootdir ) : System

Initializes a new instance of the Pluton.PYPlugin class.

Method Details

FormatException() public method

Format exceptions to give meaningful reports.
public FormatException ( Exception ex ) : string
ex System.Exception The exception object.
return string

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

Load() public method

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

PYPlugin() public method

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

Property Details

LibPath public static property

LibraryPath for python plugins.
public static string LibPath
return string

Scope public property

public ScriptScope Scope
return ScriptScope