Fix AddClasses method to take only public classes not private by AntonyNET · Pull Request #238 · khellang/Scrutor (original) (raw)

Documentation of method IImplementationTypeSelector.AddClasses(Action action) says that "Adds all public, non-abstract classes from the selected assemblies that" but in implementation this method takes private classes too:
AddClasses(action, publicOnly: false).

Sync code with documentation.