/// <summary> /// 查找API /// </summary> public void FindApies() { XmlMember.Load(Assembly); StationInfo.Add(StationName, _defStation = new StationDocument { Name = StationName }); var types = Assembly.GetTypes().Where(p => p.IsSubclassOf(typeof(ApiController))).ToArray(); foreach (var type in types) { FindApi(type, false); } RegistToZero(); RegistDocument(); }
public ZeroDiscover() { XmlMember.Load(GetType().Assembly); }