Reworked a bit the IOC chapter since ProviderFactory have changed a bit