None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder'
来源:互联网 发布:2017年8月宏观数据 编辑:程序博客网 时间:2024/05/22 00:50
这个错误是在nopcommerce中添加了一个service以后,但没有在DependencyRegistrar注册造成的。
None of the constructors found with ‘Autofac.Core.Activators.Reflection.DefaultConstructorFinder’ on type ‘*’ can be invoked with the available services and parameters:
Cannot resolve parameter ‘’ of constructor ‘Void .ctor()’.
- DependencyRegistrar注册
builder.RegisterType<***Service>().As<I***Service().InstancePerLifetimeScope();
构造函数注入 必须注入接口,非实现
接口必须有实现
0 0
- None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder'
- None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder'
- Autofuc None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructor
- Java Reflection-Constructors
- Java Reflection - Constructors
- No matching provisioning profiles found: None of the valid provisioning profiles include the device
- The Semantics of Constructors(构造语义学)
- c++对象模型-the semantics of constructors
- CSV ----- To improve the performance of Excel Output with reflection (Part 1)
- the server responded with a status of 404 (Not Found)
- none of the 1 split apks are compatible with the current device with density "-1" and ABIs "". 解决办法
- Inside The C++ Object Model ---- The Semantics of Constructors
- .net core 集成 autofac
- 反射规则 the law of reflection
- The reflection of Java language (二)
- None of the configured nodes are available
- Dependency Injection with Autofac
- Remove all the EventHandlers of the object by reflection
- 评论列表数据数据重复的问题
- Spring读取配置文件
- 超高效的使用RecyclerView应对项目中的常见需求的Adapter。
- Linux应用总结(1):自动删除n天前日志
- 抓取Iphone的网络数据包-wireShark篇
- None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder'
- linux makefile编译问题记录
- android studio 打包--jar,aar与发布
- solr
- 微服务实战:选择微服务部署策略
- 获取url 的参数值
- 新建maven项目时问题
- HBase 常用Shell命令
- IOS初级学习二