Autofac dependency injection adapter
Install-Package Remnant.Dependency.Autofac -Version 1.1.0
Create container for Autofac
var autofac = new ContainerBuilder();
Container.Create("MyContainer", new AutofacAdapter(autofac));
autofac.Build();
var container = Container.Instance;
Note: The 'Build' must be called on the autofac container builder, for it performs a callback which then constructs the container.
Get direct access to the internal DI container
var autofac = Container.Instance.InternalContainer<Autofac.IContainer>();