原文:Unable to resolve service for type的問題

今天寫了一個方法和接口,需要將接口通過依賴注入的方式注入到Controller里面,但是卻出現了InvalidOperationException: Unable to resolve service for type WebAPI.Services.IPropertyCheckerService while attempting to activate WebAPI.Controllers.Co ...

2020-04-28 23:15 2 8080 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM