首页 新闻 赞助 找找看

is an interface and cannot be constructed. Are you missing a type mapping?

0
悬赏园豆:10 [已关闭问题] 关闭于 2018-02-26 19:13

这个错误怎么解决?这个错误怎么解决?这个错误怎么解决?

 


 

The current type, ASCCSS.IDAL.ILoginDAL.ILoginDataAccess, is an interface and cannot be constructed. Are you missing a type mapping?

 

行 45: public static T Resolve<T>()

行 46: {

行 47: return _container.Resolve<T>();

行 48: }

行 49:

 

落幕。的主页 落幕。 | 初学一级 | 园豆:2
提问于:2017-10-30 16:05
< >
分享
所有回答(1)
0

这个不是说的很清楚了么?你没把这个接口的实现注入进去啊。

Daniel Cai | 园豆:10424 (专家六级) | 2017-10-30 17:39

用的老师的东西,就是看不懂

支持(0) 反对(0) 落幕。 | 园豆:2 (初学一级) | 2017-10-30 17:41
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册