cyq1162 / Aries

.NET Develop Framework(适合场景:业务系统、信息系统、管理系统、ERP,含工作流,支持.NET Core)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aries.Core.InvokeLogic.GetControllers

caogy opened this issue · comments

commented

添加一行代码,约定都使用 Controller 结尾
if (!type.FullName.EndsWith(Controller)) continue;

  Type[] typeList = ass.GetExportedTypes();
  foreach (Type type in typeList)
   {
     if (!type.FullName.EndsWith(Controller)) continue;
    if (type.BaseType != null && type.BaseType.FullName == AriesController)
     ...
   }
commented

已处理的,关闭问题。