메소드 | 설명 | |
---|---|---|
AddCommand ( ) : void |
Adds a commands in the assembly to the plugin menu.
|
|
CompileScript ( string fileName ) : Script |
Compiles a .cs script, and processes the assembly.
|
|
Execute ( object data ) : void |
Called when the user wants to execute a command.
|
|
LoadAssembly ( string fileName ) : Script |
Loads a pre-compiled assembly and processes it.
|
메소드 | 설명 | |
---|---|---|
Compile ( ) : bool |
Compiles a .cs script file, and processes the assembly.
|
|
GetSupportedParameter ( |
Produces the value that will be used to populate a parameter for a command method.
|
|
IsParameterSupported ( |
Determines if a parameter can be populated by the plugin when executing a command method. Methods with unsupported parameters will not be eligible to be a command.
|
|
LoadDll ( ) : bool |
Loads a pre-compiled assembly, and processes it.
|
|
ProcessAssembly ( ) : bool |
Searches for classes and methods in the assembly to locate potential commands. Public methods that don't have any 'unsupported' parameters will be considered to be commands.
|
|
ProcessLexerClass ( |
||
ProcessScriptClass ( |
||
ProcessSource ( CodeParser cp ) : bool |
Examines a source code file, looking for references in the comments at the top.
|
|
Script ( string fileName ) : System |
Constructs the script object.
|
public static CompileScript ( string fileName ) : Script | ||
fileName | string | The script's file name. |
리턴 | Script |
public Execute ( object data ) : void | ||
data | object | The 'tag' object added to the PluginCommand object. For script /// commands, this is set to the CommandMethod object. |
리턴 | void |
public static LoadAssembly ( string fileName ) : Script | ||
fileName | string | The assembly's file name. |
리턴 | Script |