首页 > TAG信息列表 > IChannelQuery

.netcore遇到Unable to resolve service for type

当遇到Unable to resolve service for type时,要考虑到接口方法是否已经注入: 例如: Unable to resolve service for type 'SaasTestDemo.Application.Queries.IChannelQuery' while attempting to activate 'SaasTestDemo.API.Controllers.ChannelController'. IChannelQuery