Explain that collections need to be registered explicitly #441
The following code:
var container = new Container(); container.RegisterInstance(new object()); // to ensure the container isn't empty container.GetAllInstances<IPlugin>(); // resolve an unregistered collection
Fails with the following exception message:
It fails to mention that Simple Injector requires collections to be registered explicitly, even though there are no services to register. Not mentioning this can be quite confusing to the user, especially when he expects to get an empty collection.