I'm trying to use the AutoFac container, to resolve named instances in BusinessLogic class in a CustomModule for Orchard.
I have found in the OrchardStarter.cs that the container = builder.Build(); is not exposed to the outside world.
I found that adding IOrchardServices in the constructor of my controllers, I can access the container _orchardServices.WorkContext.Resolve<>, but there is no option to retrieve named instances from the autofac container.
Am I missing something here? How can I access the container to retrieve named instances?