I have a communication service with ip address as constructor parameter to indicate where to connect.
I want to know if I can inject this service to my controller with different ip address at run time.
All of injected service I used has a parameterless constructor at least. I know autofac can resolve type using TypedParameter or NamedParameter to pass run time parameter to constructor. But I can't inject autofac container(IContainer) to my orchardcms service or controller.