/// <summary> /// 查找API /// </summary> /// <param name="type"></param> public static void DiscoverApiDocument(Type type) { if (!type.IsSubclassOf(typeof(ApiStation))) { return; } ZeroDiscover discover = new ZeroDiscover(); discover.FindApi(type, true); discover.RegistDocument(); }
/// <summary> /// 查找API /// </summary> /// <param name="type"></param> public static void DiscoverApiDocument(Type type) { if (!type.IsSubclassOf(typeof(ApiStation))) { return; } ZeroTrace.SystemLog("DiscoverApiDocument", type.FullName); ZeroDiscover discover = new ZeroDiscover(); discover.FindApi(type, true); discover.RegistDocument(); }