Jimmy Bogart有一篇關於使用Automapper with an IoC container的文章。他有一個使用StructureMap的例子,但我使用的是Unity,我不確定如何正確使用一個InjectionConstructor。 下面是來自文章和下面的代碼,這是我可憐的嘗試。任何人都可以告訴我如何正確地做到這一點? public class ConfigurationRegistr
在複合應用程序(棱鏡),當我的模塊加載,我得到這個錯誤: {"The current build operation (build key Build Key[CustomersModul.ViewModels.CustomerAllViewModel, null]) failed: The parameter view could not be resolved when attempting