Scenario: You need to resolve a dependency when a method is called, not in the constructor.
Solution: Inject an abstract factory into the constructor. When the method is called, it requests the dependency from the abstract factory, which in turn resolves it from the container. (Your class depends o...