C# Class ModernSteward.Plugin

Show file Open project: ModernSteward/ModernSteward Class Usage Examples

Public Properties

Property Type Description
Macros Macro
Name string
PluginGrammarTreePath string
PluginPath string
Type PluginType

Public Methods

Method Description
Deinitialize ( ) : bool
GetGrammar ( ) : Grammar
GetGrammarBuilder ( ) : GrammarBuilder
Initialize ( ) : bool
LoadPlugin ( ) : void

Must be used only after deserialization or in the constructor of the class!!!

Plugin ( ) : System
Plugin ( string aName, string aPluginPath, int aID = -1 ) : System
ToString ( ) : string
TriggerPlugin ( string>.List aSemantics ) : void
TryToEmulateCommandHandler ( object s, EmulateCommandEventArgs e ) : void

Private Methods

Method Description
CurrentDomain_AssemblyResolve ( object sender, ResolveEventArgs args ) : Assembly
GrammarUpdateRequestHandler ( object s, GrammarUpdateRequestEventArgs e ) : void

Method Details

Deinitialize() public method

public Deinitialize ( ) : bool
return bool

GetGrammar() public method

public GetGrammar ( ) : Grammar
return Grammar

GetGrammarBuilder() public method

public GetGrammarBuilder ( ) : GrammarBuilder
return GrammarBuilder

Initialize() public method

public Initialize ( ) : bool
return bool

LoadPlugin() public method

Must be used only after deserialization or in the constructor of the class!!!
public LoadPlugin ( ) : void
return void

Plugin() public method

public Plugin ( ) : System
return System

Plugin() public method

public Plugin ( string aName, string aPluginPath, int aID = -1 ) : System
aName string
aPluginPath string
aID int
return System

ToString() public method

public ToString ( ) : string
return string

TriggerPlugin() public method

public TriggerPlugin ( string>.List aSemantics ) : void
aSemantics string>.List
return void

TryToEmulateCommandHandler() public method

public TryToEmulateCommandHandler ( object s, EmulateCommandEventArgs e ) : void
s object
e EmulateCommandEventArgs
return void

Property Details

Macros public property

public Macro,ModernSteward Macros
return Macro

Name public property

public string Name
return string

PluginGrammarTreePath public property

public string PluginGrammarTreePath
return string

PluginPath public property

public string PluginPath
return string

Type public property

public PluginType Type
return PluginType