[英]What is the difference between automapper.extensions.microsoft.dependencyinjection and automapper nuget packages?
The NuGet package AutoMapper.Extensions.Microsoft.DependencyInjection
will also load the dependend packages (listed under dependencies) into your project. NuGet 包AutoMapper.Extensions.Microsoft.DependencyInjection
还会将依赖包(在依赖项下列出)加载到您的项目中。
It is the same as if you would manually add这与您手动添加相同
to your project.到您的项目。
当我们使用 Automapper 扩展时,我们还需要在启动文件中注册依赖项。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.