Updated Plugins (markdown)

Neil Dorin
2020-02-11 17:35:04 -07:00
parent 5913f530c0
commit 652320d119

@@ -11,7 +11,7 @@ One or more plugins can be loaded to the /user/ProgramX/plugins as .dlls or .cpl
## What Must be Implemented in a Plugin for it to Work?
All plugin assemblies must contain a static method called LoadPlugin():
`
``` csharp
public class SomeDevice : Device , IBridge //IBridge only needs to be implemented if
{
// This string is used to define the minimum version of the Essentials Framework required for this plugin
@@ -37,7 +37,7 @@ public class SomeDevice : Device , IBridge //IBridge only needs to be implement
}
#endregion
}
`
`11
## SIMPL Bridging
Optionally, if your plugin device needs to be able to bridge to a SIMPL program over EISC, and there isn't already an existing bridge class in the Essentials Framework, you can write a new bridge class in your plugin. However, in order for the Essentials Application to be able to us that new bridge, the bridge must implement the IBridge interface with the required LinkToApi() Extension method.