C# Class Pluton.PYPlugin

PY plugin.
Inheritance: BasePlugin
Afficher le fichier Open project: Notulp/Pluton

Méthodes publiques

Свойство Type Description
LibPath string
Scope ScriptScope

Méthodes publiques

Méthode 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 méthode

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

GetGlobalObject() public méthode

public GetGlobalObject ( string identifier ) : object
identifier string
Résultat object

Invoke() public méthode

Invoke the specified method and args.
public Invoke ( string func ) : object
func string Func.
Résultat object

Load() public méthode

public Load ( string code = "" ) : void
code string
Résultat void

PYPlugin() public méthode

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.
Résultat System

Property Details

LibPath public_oe static_oe property

LibraryPath for python plugins.
public static string LibPath
Résultat string

Scope public_oe property

public ScriptScope Scope
Résultat ScriptScope