C# 获取指定接口的所有实现类

   var types = AppDomain.CurrentDomain.GetAssemblies()
 .SelectMany(a => a.GetTypes().Where(t => t.GetInterfaces().Contains(typeof(InterfaceName))))
 .ToArray();
原文地址:https://www.cnblogs.com/gaobing/p/5369106.html