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 -----]
Posted
07-30-2008 6:52 AM
by
Derik Whittaker