mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
新增了卸载程序集的功能
This commit is contained in:
@@ -341,7 +341,7 @@ namespace Serein.Workbench
|
||||
var menu = new ContextMenu();
|
||||
menu.Items.Add(CreateMenuItem("卸载", (s, e) =>
|
||||
{
|
||||
if (this.EnvDecorator.RemoteDll(nodeLibraryInfo.AssemblyName))
|
||||
if (this.EnvDecorator.UnloadLibrary(nodeLibraryInfo.AssemblyName))
|
||||
{
|
||||
DllStackPanel.Children.Remove(dllControl);
|
||||
}
|
||||
@@ -1165,7 +1165,7 @@ namespace Serein.Workbench
|
||||
{
|
||||
if (file.EndsWith(".dll"))
|
||||
{
|
||||
EnvDecorator.LoadDll(file);
|
||||
EnvDecorator.LoadLibrary(file);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user