diff options
Diffstat (limited to 'lib/Plugins.Runtime/src/IPluginAssemblyLoader.cs')
-rw-r--r-- | lib/Plugins.Runtime/src/IPluginAssemblyLoader.cs | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/lib/Plugins.Runtime/src/IPluginAssemblyLoader.cs b/lib/Plugins.Runtime/src/IPluginAssemblyLoader.cs index 2d04703..d75ac47 100644 --- a/lib/Plugins.Runtime/src/IPluginAssemblyLoader.cs +++ b/lib/Plugins.Runtime/src/IPluginAssemblyLoader.cs @@ -22,36 +22,18 @@ * along with VNLib.Plugins.Runtime. If not, see http://www.gnu.org/licenses/. */ -using System; -using System.Reflection; - namespace VNLib.Plugins.Runtime { + /// <summary> /// Represents the bare assembly loader that gets a main assembly for a plugin and handles /// type resolution, while providing loading/unloading /// </summary> - public interface IPluginAssemblyLoader : IDisposable + public interface IPluginAssemblyLoader : IAssemblyLoader { /// <summary> /// Gets the plugin's configuration information /// </summary> IPluginConfig Config { get; } - - /// <summary> - /// Unloads the assembly loader if Config.Unloadable is true, otherwise does nothing - /// </summary> - void Unload(); - - /// <summary> - /// Prepares the loader for use - /// </summary> - void Load(); - - /// <summary> - /// Begins the loading process and recovers the default assembly - /// </summary> - /// <returns>The main assembly from the assembly file</returns> - Assembly GetAssembly(); } } |