What happened to Lazy<T> support in Autofac? -


AutoFax 2.1 is built in beta, as lazy < T & gt; is described in Nicholas Blumhart's blog post.

Google is still in the source of code, but I think I have seen it. None of the .NET 4.0 binaries can find LazyDependencyModule . Has it been taken somewhere else?

I used to auto-fix the automated lazy and lieutenant; T & gt; How do I use the resolution with the latest Autofac builds?

You do not need to register LazyDependencyModule in Autofac 2 builds. It is a part of the default container, so just type T and lazy < T & gt; Register for .

Make sure that you are not accidentally using .NET 3.5 binary :)

nick


Comments