0
我在Seemann的網站上看到了ASP.NET Web API依賴注入。它使用CastleWindsor。什麼是CastleWindsor的容器的等價物。在LightInject中發佈?
request.RegisterForDispose(
new Release(
() => this.container.Release(controller)));
什麼是CastleWindsor的container.Release在LightInject中的等價物?
http://blog.ploeh.dk/2012/10/03/DependencyInjectioninASP.NETWebAPIwithCastleWindsor/