From 652320d1194a69d137b68faf83de021d1052f0b1 Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Tue, 11 Feb 2020 17:35:04 -0700 Subject: [PATCH] Updated Plugins (markdown) --- Plugins.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins.md b/Plugins.md index 8d57c2f..a1a47e1 100644 --- a/Plugins.md +++ b/Plugins.md @@ -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.