using System.Reflection;
using Autofac;
using Autofac.Extensions.DependencyInjection;
using DS.Module.Core.Modules;
using Microsoft.AspNetCore.Builder;
namespace DS.Module.AutofacModule;
///
/// Autofac模块
///
public class AutofacInstall : DSAppModule
{
public override void ConfigureServices(ConfigureServicesContext context)
{
// WebApplicationBuilder builder = WebApplication.;
// //Autofac注入
// builder.Host
// .UseServiceProviderFactory(new AutofacServiceProviderFactory())
// .ConfigureContainer(builder => { builder.RegisterModule(new AutofacModuleRegister()); });
}
}