aboutsummaryrefslogtreecommitdiff
path: root/lib/Plugins/src/IPlugin.cs
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-09-19 22:11:00 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2023-09-19 22:11:00 -0400
commit0b4e18b9a7d8e0aea23aef7efd3707674f223b2b (patch)
treea46aba32c4dee4e593267e34bc5f0830af7353ee /lib/Plugins/src/IPlugin.cs
parentcdeda79bc7d358c617b05b17d24f3f3c79689379 (diff)
Experimental plugin runtime updates
Diffstat (limited to 'lib/Plugins/src/IPlugin.cs')
-rw-r--r--lib/Plugins/src/IPlugin.cs15
1 files changed, 2 insertions, 13 deletions
diff --git a/lib/Plugins/src/IPlugin.cs b/lib/Plugins/src/IPlugin.cs
index d872232..c1fa6a6 100644
--- a/lib/Plugins/src/IPlugin.cs
+++ b/lib/Plugins/src/IPlugin.cs
@@ -22,9 +22,6 @@
* along with VNLib.Plugins. If not, see http://www.gnu.org/licenses/.
*/
-using System;
-using System.Collections.Generic;
-
namespace VNLib.Plugins
{
/// <summary>
@@ -36,23 +33,15 @@ namespace VNLib.Plugins
/// The name of the plugin to referrence (may be used by the host to interact)
/// </summary>
string PluginName { get; }
+
/// <summary>
/// Performs operations to prepare the plugin for use
/// </summary>
void Load();
+
/// <summary>
/// Invoked when the plugin is unloaded from the runtime
/// </summary>
void Unload();
- /// <summary>
- /// Returns all endpoints within the plugin to load into the current root
- /// </summary>
- /// <returns>An enumeration of endpoints to load</returns>
- /// <remarks>
- /// Lifecycle: Results returned from this method should be consistant (although its only
- /// likely to be called once) anytime after the <see cref="Load"/> method, and undefined
- /// after the <see cref="Unload"/> method is called.
- /// </remarks>
- IEnumerable<IEndpoint> GetEndpoints();
}
} \ No newline at end of file