StructureMap 2.6

After upgrading to the latest StructureMap version, 2.6, I needed to make a slight tweak to the registration code. The convention call changes from:

s.WithDefaultConventions();

Is now:

s.With(new DefaultConventionScanner());

Apart from that, it was just a drop in replacement. Obviously helps if you keep calls to the IoC tool to a minimum.


Comments:

hi to all nosuchblogger.comers this is my first post and thought i would say a big hello to yous -
thanks speak soon
garry moore


Comment Guidelines
See the FAQ for details on the full rules and guidelines. No Spam. Write clearly and thoughtfully - no bad language.