Unity Application Block 1.2 for Silverlight - December 2008
几个链接:
- – MSDN site: http://msdn.microsoft.com/en-us/library/dd362339.aspx
- – Community Forum: http://codeplex.com/unity
什么是 Unity?
Unity是一个轻量级的,可扩充的依赖注入容器。Unity可以很好的支持Model-View-Presenter (MVP) pattern来做silverlight的开发。
The Unity Application Block (Unity) is a lightweight, extensible dependency injection container. This release of Unity is a port of Unity Application Block 1.2 to Microsoft Silverlight 2.0.
What’s New?
The following capabilities and packaging of the Unity container have been adjusted in this release:
- – The single Microsoft.Practices.Unity.dll file in the Silverlight version contains all the classes from the three separate desktop DLLs: Microsoft.Practices.Unity.dll, Microsoft.Practices.ObjectBuilder2.dll, and Microsoft.Practices.Unity.StaticFactoryExtension.dll. You only need to reference and deploy the one assembly in your Silverlight projects.
- – Because of differences in the Silverlight security model, only public types can be created and injected by the container. The desktop version allows you to also inject internal types.
- – XML configuration is not supported.
- - The Unity interception mechanism is not supported.