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