Tag Archives: Inject IContainer in constructor in autofac

Resolving IContainer in Constructor when using Autofac

Hi, While using Unity as an Inversion of Control and Dependency Injection container, there is an option to directly inject the container into a class’s constructor by placing the IUnityContainer interface as a constructor parameter. This container can then be … Continue reading

Posted in General | Tagged , , , , | Leave a comment