I am using AutoFAC 2.2.4 and have a question about covariance in container resolution. I have a base interface definition for my repositories:
I keep on getting an error when trying to resolve my repositories. None of the constructors found with \'Public binding flags\' on typecan be invoked with the available services and parameters:
I want to put the persistent entities to the same lifetimescope of the NHibernate session, is it possible?
I\'m new to Autofac and trying to get things working for my first project using it. I\'m not sure how inject the registered helper from Autofac? Any help would be appreciated.
Following on from this question I would like autofac to inject the type 开发者_开发问答of the declaring object into the constructor of my NLog service, so that it can correctly log which type is loggi
Looking at the deprecated downloads for Autofac out at code.google.com, I see: Release 1.3.2 for .NET 2.0 (released Oct开发者_运维知识库 2008)
Is it possi开发者_运维技巧ble to get this scenario to work ? [TestFixture] public class AutofacTests
Is there any way to create a fake from a System.Type object in FakeItEasy? Similar to: var instance = A.Fake(type);
I have a bank/collection which caches instances of objects in memory so that each request doesn\'t need to go back to the datastore. I\'d like Autofac to provide an instance of this bank, but then exp
I\'m using Autofac in my project I have different kind of providers such as data or logging , etc. thease providers are set in the web.config sections and I have a default provider for each section.s