C# Класс Pluton.PYPlugin

PY plugin.
Наследование: BasePlugin
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
LibPath string
Scope ScriptScope

Открытые методы

Метод Описание
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.

Описание методов

FormatException() публичный Метод

Format exceptions to give meaningful reports.
public FormatException ( Exception ex ) : string
ex System.Exception The exception object.
Результат string

GetGlobalObject() публичный Метод

public GetGlobalObject ( string identifier ) : object
identifier string
Результат object

Invoke() публичный Метод

Invoke the specified method and args.
public Invoke ( string func ) : object
func string Func.
Результат object

Load() публичный Метод

public Load ( string code = "" ) : void
code string
Результат void

PYPlugin() публичный Метод

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.
Результат System

Описание свойств

LibPath публичное статическое свойство

LibraryPath for python plugins.
public static string LibPath
Результат string

Scope публичное свойство

public ScriptScope Scope
Результат ScriptScope