几个链接:

什么是 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.

相关文章:

  • 2022-12-23
  • 2021-10-14
  • 2021-09-11
  • 2021-07-18
  • 2022-12-23
  • 2022-02-21
猜你喜欢
  • 2021-08-28
  • 2021-06-22
  • 2022-02-27
  • 2022-01-04
  • 2021-09-12
相关资源
相似解决方案