mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-20 00:06:45 +08:00
1. 重新设计了Generate项目及相关特性的命名,避免与其他类型混淆。
2. 补充了部分注释。 3. 修改了删除容器节点时,容器内子节点未正确删除的问题。
This commit is contained in:
@@ -17,11 +17,22 @@ namespace Serein.NodeFlow.Tool
|
||||
private AssemblyLoadContext context;
|
||||
private Dictionary<string, Type> dicTypes = new Dictionary<string, Type>();
|
||||
|
||||
/// <summary>
|
||||
/// 程序集加载器构造函数
|
||||
/// </summary>
|
||||
/// <param name="basePath"></param>
|
||||
public AssemblyLoader(string basePath)
|
||||
{
|
||||
_basePath = basePath;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 加载指定的类型
|
||||
/// </summary>
|
||||
/// <param name="dllFileName"></param>
|
||||
/// <param name="typeName"></param>
|
||||
/// <returns></returns>
|
||||
public Type Load(string dllFileName, string typeName)
|
||||
{
|
||||
context = new AssemblyLoadContext(dllFileName);
|
||||
|
||||
Reference in New Issue
Block a user