Notes: Incremental Release with new Features: * The IContainer is always injected into the Container itself. This means that you can expect a constructor argument of type “IContainer” to be filled with the current Container. This does work with ObjectFactory * “Missing Instance” handler. If you ask for an Instance by name that does not exist, Missing Instance gets a chance to handle the request * Conditional Construction – I’ve gotten a lot of questions about “I want to do this if the user has this role, and this if he doesn’t” type of scenarios. The Conditional Instance feature bakes this into StructureMap out of the box Convention based Setter Injection Policies. Specify rules like “I want all public setter properties where the PropertyType is in this namespace to be injected by StructureMap” * New functionality in IContext / BuildSession (TryGetInstance<T>() and GetInstance<T>(name)) The BuildUp() functionality to inject dependencies through public setters of an existing object for usage in ASP.Net WebForms and other environments that do not allow you to control object creation * Convenience methods for requesting open generic types Minor improvements to the Assembly Scanning. Easier ways to create auto registration policies. Interception techniques can now use the IContext during construction
Changes:
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use