1
林加载试图从一个特定的文件夹,但基本接口加载所有类型时是通用的:IAnalysis温莎城堡和泛型类型从装配
以下语法适用于非泛型类型。 :
container.Register(Classes.FromAssemblyInDirectory(new AssemblyFilter(folder)).BasedOn<IAnalysis>());
如何使它与我的泛型类型一起工作?我需要的是这样的.BasedOn<IAnalysis<T>>
感谢
阿米特