新增了卸载程序集的功能

This commit is contained in:
fengjiayi
2024-11-03 23:51:18 +08:00
parent e4972c62f2
commit b7be0f2c6e
7 changed files with 171 additions and 91 deletions

View File

@@ -278,9 +278,9 @@ namespace Serein.NodeFlow.Env
}
public void LoadDll(string dllPath)
public void LoadLibrary(string dllPath)
{
currentFlowEnvironment.LoadDll(dllPath);
currentFlowEnvironment.LoadLibrary(dllPath);
}
public void LoadProject(FlowEnvInfo flowEnvInfo, string filePath)
@@ -307,9 +307,9 @@ namespace Serein.NodeFlow.Env
}
public bool RemoteDll(string assemblyName)
public bool UnloadLibrary(string assemblyName)
{
return currentFlowEnvironment.RemoteDll(assemblyName);
return currentFlowEnvironment.UnloadLibrary(assemblyName);
}
public async Task<bool> RemoveConnectInvokeAsync(string fromNodeGuid, string toNodeGuid, ConnectionInvokeType connectionType)