コード例 #1
0
 // ConfigureContainer is where you can register things directly
 // with Autofac. This runs after ConfigureServices so the things
 // here will override registrations made in ConfigureServices.
 // Don't build the container; that gets done for you by the factory.
 public void ConfigureContainer(ContainerBuilder builder)
 {
     _startup.ConfigureContainer(builder);
 }