我正在尝试用Prism.Autofac.Wpf 7设置一个非常简单的应用程序;public partial class App protected override' on type 'Prism.Autofac.AutofacServiceLocatorAdapter' can be invoked with the available services andparameters:
Cannot resolve parameter 'Autofac.IC
我有一个与类的接口,该类的构造函数以Autofac IContainer作为参数。如何一次传递这个参数来解析这个类。我曾尝试使用新的NamedParameter,但遇到错误public class AppAmbientState : IAppAmbientState public IContainerIAppAmbientState>().SingleInstance();DependencyResolutionException: None of the constructors fou