Exemple #1
0
        private void InitializeContainer(ContainerConfigurer configurer)
        {
            var builder = new ContainerBuilder();

            var container = builder.Build();

            _containerManager = new AutofacContainerManager(container);
            configurer.Configure(this, _containerManager);

            //_containerManager.NotifyCompleted(container);
        }
Exemple #2
0
 public DemoEngine(ContainerConfigurer configurer)
 {
     InitializeContainer(configurer);
 }