|
|
@@ -33,6 +33,11 @@ namespace YSAI.RelayManage
|
|
|
/// </summary>
|
|
|
public readonly static string ConfigFile = $"{AppDomain.CurrentDomain.BaseDirectory}{ConfigDirectory}//RelayManageConfig.json";
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 接口名称
|
|
|
+ /// </summary>
|
|
|
+ private readonly string InterfaceFullName = "YSAI.Core.interface.unify.IRelay";
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 配置数据
|
|
|
/// </summary>
|
|
|
@@ -410,7 +415,7 @@ namespace YSAI.RelayManage
|
|
|
//检索类是否继承接口
|
|
|
foreach (Type type in types)
|
|
|
{
|
|
|
- if (type.FindInterfaces(typeFilter, basics.InterfaceFullName).Count() > 0)
|
|
|
+ if (type.FindInterfaces(typeFilter, InterfaceFullName).Count() > 0)
|
|
|
{
|
|
|
typesArray.Add(type);
|
|
|
}
|