AspNet Core 应用程序 1)Autofac 模块类似于这样public class AutofacModule : Module { protected override void Load(ContainerBuilder builder) { //R...
目前我正在使用 Autofac 进行 IoC。在两个组合根 (一个用于前端,一个用于后端) 中,我注册并解析跨越 Service 、 Business 和 Data 层的组件。 到目前为止,我的单一模块名称为“AccountingModule”。现在我要向应用程序中添加几个新模块,名称类...