- By Matthew Butt
- Posted 23 Nov 2017
In this post I will walk through how to refactor a Factory, moving from a sequence of ifs to a dictionary implementation, and using delegates as a type alias for my object creation methods. Here is a naive implementation of the Factory. You can see...