ApiBrain().LoadCommandAssembly
Loads the name command assembly so that the functions are available to SILVIA.
Description
Custom functionality may be created via one or more plugins. This command allows for the scripted loading of such plugins. Usually, this method will be called from a “boot” Behavior’s Post-Exuder script. This is supported on interpreted .NET/Mono enabled platforms only.
Example Usage (C#)
bool loaded = _core.ApiBrain().LoadCommandAssembly(“silvia_commands”, “silvia_command”, “sv_command”);
Parameters
string |
assemblyName |
A string representing the name of the assembly (dll or so) to be loaded. |
string |
namespace |
A string specifying the namespace where the class/methods are to be found. |
string |
className |
A string specifying the named class that contains the methods to be accessed. |
Returns
The boolean value representing the success or failure of the assembly’s loading.