摘要:
1///<summary>2///ReturnsalltypesinthecurrentAppDomainimplementingtheinterfaceorinheritingthetype.3///</summary>4publicstaticIEnumerable<Type>TypesImplementingInterface(TypedesiredType)5{6returnAppDomain7.CurrentDomain8.GetAssemblies()9.SelectMany(assembly=>assembly.GetTypes())10 阅读全文