C# Class Pluton.CSSPlugin

C# script plugin.
Inheritance: BasePlugin
Show file Open project: Notulp/Pluton

Public Properties

Property Type Description
Compiled bool
Engine CSharpPlugin
compileParams string

Public Methods

Method Description
CSSPlugin ( string name, DirectoryInfo rootdir ) : System

Initializes a new instance of the Pluton.CSSPlugin class.

Compile ( ) : Assembly
Invoke ( string func ) : object

Invoke the specified method and args.

Load ( string code = "" ) : void
LoadReferences ( ) : void
MCSExited ( object sender, EventArgs e ) : void
MCSReturnedErrorData ( object sender, DataReceivedEventArgs e ) : void
MCSReturnedOutputData ( object sender, DataReceivedEventArgs e ) : void

Private Methods

Method Description
GetDllPaths ( ) : IEnumerable
GetRefDllPaths ( ) : IEnumerable

Method Details

CSSPlugin() public method

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

Compile() public method

public Compile ( ) : Assembly
return System.Reflection.Assembly

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

LoadReferences() public method

public LoadReferences ( ) : void
return void

MCSExited() public method

public MCSExited ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MCSReturnedErrorData() public method

public MCSReturnedErrorData ( object sender, DataReceivedEventArgs e ) : void
sender object
e System.Diagnostics.DataReceivedEventArgs
return void

MCSReturnedOutputData() public method

public MCSReturnedOutputData ( object sender, DataReceivedEventArgs e ) : void
sender object
e System.Diagnostics.DataReceivedEventArgs
return void

Property Details

Compiled public property

public bool Compiled
return bool

Engine public property

public CSharpPlugin,Pluton Engine
return CSharpPlugin

compileParams public static property

public static string compileParams
return string