1
我試圖找到在ISomeInterface的程序集中的類型< AnyType> using linq。C# - 如何從使用LINQ的程序集中獲取某些通用類型
我該怎麼做?
這是我有:
AppDomain.CurrentDomain.GetAssemblies().SelectMany(a=>a.GetTypes().Where(t=> /* t is ISomeInterface<ofAnyType> */))