I am loading up all assemblies in my app domain and then trying to find those of a certain base type and all also whose constructors have a interface as a constructor argument. I’ve got the below code but can’t work out how you tell it to find interface parameters.
var assembliesWithPluginBaseInThem = AppDomain.CurrentDomain.GetAssemblies()
.Where(x=>x.GetTypes().Where(y=>y.BaseType== typeof(PluginBase) &&
y.GetConstructor(new Type[]{typeof(interface)})
How about something like this: