Loading

摘要: 1///<summary>2///ReturnsalltypesinthecurrentAppDomainimplementingtheinterfaceorinheritingthetype.3///</summary>4publicstaticIEnumerable<Type>TypesImplementingInterface(TypedesiredType)5{6returnAppDomain7.CurrentDomain8.GetAssemblies()9.SelectMany(assembly=>assembly.GetTypes())10 阅读全文
posted @ 2011-12-15 14:45 today4king 阅读(330) 评论(0) 推荐(0) 编辑