1
我试图找到在ISomeInterface的程序集中的类型< AnyType> using linq。C# - 如何从使用LINQ的程序集中获取某些通用类型
我该怎么做?
这是我有:
AppDomain.CurrentDomain.GetAssemblies().SelectMany(a=>a.GetTypes().Where(t=> /* t is ISomeInterface<ofAnyType> */))