Thoughts on Software Development, .Net, OOP, Design Patterns and all things cool
It appears that with the new release of StructureMap 2.4.9 (aka 2.5) the usage of ObjectFactory.ResetDefaults() has been replaced by ObjectFactory.Reset().
Now why is this important? I used .ResetDefaults() in my unit tests when I wanted to reset the plugin graph (is that the correct term?) because I had injected a stub into the graph.
I thought I would just mention this out there in case anyone else ran into this issue when they upgraded to StructureMap 2.5.
Till next time,
[----- Remember to check out DimeCasts.Net -----]
About Derik Whittaker
Derik is a .Net Developer/Architect specializing in WinForms working out the northern suburbs of Chicago. He is also believer and advocate for Agile development including SCRUM, TDD, CI, etc.
When Derik is not writing code he can be found spending time with his wife and young son, climbing on his bouldering wall, watching sports (mostly baseball), and generally vegging out.