IoC Factory: Pros and contras for Interface versus Delegates
Any place where you need a run-time value to construct a particular dependency, Abstract Factory is the solution. I would argue against this. Dependencies should not be constructed using runtime data, as explained here. In summary the article states: Don’t inject runtime data into application components during construction; it causes ambiguity, complicates the composition root … Read more