/// <summary> /// 从程序集中刷新功能数据,主要检索MVC的Controller-Action信息 /// </summary> public void Initialize() { Type[] controllerTypes = ControllerTypeFinder.FindAll(); TFunction[] functions = GetFunctions(controllerTypes); UpdateToRepository(functions); RefreshCache(); }