正文C# 获取指定接口的所有实现类IP云V管理员/2022-12-01/4 阅读 12/01提示:扫一扫查出行【扫一扫了解最新限行尾号】复制提示 var types = AppDomain.CurrentDomain.GetAssemblies() .SelectMany(a => a.GetTypes().Where(t => t.GetInterfaces().Contains(typeof(InterfaceName)))) .ToArray();