var t = typeof(HomeController);
//获取所有方法
System.Reflection.MethodInfo[] methods = t.GetMethods(); //获取所有成员
System.Reflection.MemberInfo[] members = t.GetMembers(); //获取所有属性
System.Reflection.PropertyInfo[] properties = t.GetProperties();
var t = typeof(HomeController);
//获取所有方法
System.Reflection.MethodInfo[] methods = t.GetMethods(); //获取所有成员
System.Reflection.MemberInfo[] members = t.GetMembers(); //获取所有属性
System.Reflection.PropertyInfo[] properties = t.GetProperties();