Posts tagged with: autofac
All TagsFound 27 posts tagged with "autofac"
-
Registering open generic types in Autofac 1.4
This post explains how to extend Autofac 1.4 to register open generic types, with support for both interfaces and classes. It provides an example unit test and the code used to implement the extension method.
-
Registering open generic interface types in Autofac
This post covers how to register open generic interface types in Autofac V2, using the new RegisterAssemblyTypes method and an extension method. Nicholas Blumhardt (the creator of Autofac) suggested that this would be easy to implement, and it was done with a few unit tests and implementation code.