Autofac
Autofac copied to clipboard
An addictive .NET IoC container
## Problem Statement There is support today for conditionally applying decorators by providing a lambda on the `RegisterDecorator` call. However, only information about the instance being decorated is provided there,...
(I'm not 100% sure that this isn't possible today but afaik it isn't...) ## Problem Statement We use our own little aop fw for our services. To use this in...
Circular dependencies only begin in depth check after _maxResolveDepth has been reached. The existing approach is (n*m) complexity where n is the number of resolves and m is the average...
## Problem Statement Autofac is so much of our processing that improvements here do way more than our business code performance improvements. Looking at what's there and could be removed,...
## Describe the Bug When I register a generic decorator for my command handlers with `RegisterGenericDecorator()` and then try to resolve all command handlers by `container.Resolve(IEnumerable)`, the returned decorators all...
## Problem Statement AutoFac uses Constructor injection. I just added a new parameter to a base class's constructor and had to refactor ~50 derived classes. That really sucks. ## Desired...
## Problem Statement We have a big project and do a lot of registrations in a container. After an update of Autofac from 4.8.1 to 6.2 we notice almost 2x...
## Problem Statement Based on [this StackOverflow question](https://stackoverflow.com/questions/72132440/how-can-i-tell-if-iregistrationbuilder-enableinterfaceinterceptors-has-already) it would be helpful to be able to use the `ContainerBuilder.Properties` dictionary to track information pertaining to individual registrations. At the moment,...
I've run into something that is either a memory leak or an unsupported use case, and I'm looking for guidance on which. My application has a plugin model that loads...
Raising a PR that fixes #1324. @mburnell, I'm partly raising this so we can get a MyGet build out; you can pull that down and see if that helps with...