共用方式為


Creating and Using Container Extensions

You can create your own custom Unity container extensions, or use container extensions created by third parties with Unity. Unity uses default container extensions to implement its own functionality. For example, the interception mechanism provided by Unity is implemented as a container extension.

Documentation to help you understand ObjectBuilder, and the steps required to create custom container extensions, is available from the Unity Community Web site on CodePlex.