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();
- 構造函數注入
必須注入接口,非實作
- 接口必須有實作