|
|
1
2
要了解基本注入机制的工作原理,请查看 this simple, 15-LoC dependency injection container . 当然,像Spring.Net这样的真实容器要复杂得多,但这只是一般的想法。 |