2011年10月28日

Assembly 程序集

摘要: //根据一个类得到其相应的 Assemblyvar ar = System.Reflection.Assembly.GetAssembly(typeof(BK_BaseEntity));//查找 Assembly 中的所有类型var ft = ar.ManifestModule.FindTypes(null, null);//找出所有基类是BK_BaseEntity的类型.var fs = ft.Where(j => j.BaseType == typeof(BK_BaseEntity));Assembly 程序集(Dll , exe 等 可以理解为vs中的一个项目.)//下面这行代码演 阅读全文

posted @ 2011-10-28 10:19 Terry@ 阅读(331) 评论(0) 推荐(0) 编辑

导航