jjzjj

controllerType

全部标签

c# - 为什么我的 CaSTLe Windsor Controller 工厂的 GetControllerInstance() 被调用为空值?

我正在使用CaSTLeWindsor来管理Controller实例(除其他外)。我的Controller工厂看起来像这样:publicclassWindsorControllerFactory:DefaultControllerFactory{privateWindsorContainer_container;publicWindsorControllerFactory(){_container=newWindsorContainer(newXmlInterpreter());varcontrollerTypes=fromtinAssembly.GetExecutingAssembly