From f19aafcec6023ef5b8af6f39bb458783ea2ed650 Mon Sep 17 00:00:00 2001 From: Andrei Tudor Date: Tue, 8 Apr 2025 12:05:40 +0300 Subject: [PATCH] Removed unused usings from PluginsController and Program in the WebUI --- WebUI/Controllers/PluginsController.cs | 1 - WebUI/Program.cs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/WebUI/Controllers/PluginsController.cs b/WebUI/Controllers/PluginsController.cs index a316e17..acb5ffa 100644 --- a/WebUI/Controllers/PluginsController.cs +++ b/WebUI/Controllers/PluginsController.cs @@ -1,5 +1,4 @@ using DiscordBotCore.PluginManagement; -using DiscordBotCore.PluginManagement.Models; using Microsoft.AspNetCore.Mvc; using WebUI.Models; using ILogger = DiscordBotCore.Logging.ILogger; diff --git a/WebUI/Program.cs b/WebUI/Program.cs index 9b1ad2a..adcc039 100644 --- a/WebUI/Program.cs +++ b/WebUI/Program.cs @@ -10,6 +10,7 @@ using IConfiguration = DiscordBotCore.Configuration.IConfiguration; using ILogger = DiscordBotCore.Logging.ILogger; #region Load External (Unmanaged) Assemblies + // This code is used to load external (unmanaged) assemblies from the same folder as the executing assembly. // It handles the AssemblyResolve event to search for the requested assembly in a specific folder structure. // The folder structure is expected to be: /Libraries//.