Allow IList<T> and ICollection<T> to be resolved from the container just as IEnumable<T>

Just as the container is now able to resolve IEnumerable<T>, IReadOnlyList<T> and IReadOnlyCollection<T>, it should be able to resolve IList<T> and ICollection<T> with the same behavior. This means...

Id #20981 | Release: None | Updated: Sat at 3:40 PM by dot_NET_Junkie | Created: Sat at 10:09 AM by dot_NET_Junkie

Communicate better exception message in case of resolving an unregistered delegate.

I'm using the AppSettingsConvention as described here. It is working as expected except when I register a Func<T>. I've created a custom RouterHandler so that I can introduce a custom HttpHandl...

Id #20980 | Release: None | Updated: Sat at 10:02 AM by dot_NET_Junkie | Created: Fri at 4:20 PM by qujck

Unregistered instances aren't guaranteed to be unique when LifestyleSelectionBehavior is overridden

In case the LifestyleSelectionBehavior is overridden and determines that an unregistered type should be resolved as singleton, the container does currently not guarantee that only one instance is c...

Id #20976 | Release: None | Updated: Sat at 8:10 PM by dot_NET_Junkie | Created: Oct 1 at 8:15 PM by dot_NET_Junkie

Warn for multiple registrations for the same type

It is possible to define a type that has multiple implementations which can each be registered separately in the container. When doing this it may not always be clear exactly which instance will be...

Id #20975 | Release: None | Updated: Oct 1 at 6:17 AM by dot_NET_Junkie | Created: Sep 30 at 8:17 PM by qujck

Warning when a registered open generic has not been verified

tl;dr: the container cannot guess how to close an open generic type for verification. The diagnostic services cannot verify an open generic that is not explicitly defined somewhere else within th...

Id #20974 | Release: None | Updated: Sep 30 at 8:42 PM by dot_NET_Junkie | Created: Sep 30 at 8:06 PM by qujck

Merge Register and RegisterOpenGeneric.

The API currently differentiates the registration of open generic types on the one side and closed generic and non-generic on the other side. Open generics are registered using RegisterOpenGeneric ...

Id #20973 | Release: None | Updated: Oct 2 at 2:55 PM by qujck | Created: Sep 29 at 8:41 PM by dot_NET_Junkie

Allow RegisterAll to register non-generic and closed generic types

The current implementation of RegisterAll allows registering a set of non-generic or closed generic implementations of a non-generic or closed-generic abstraction. The current implementation of Re...

Id #20971 | Release: Simple Injector v2.6 | Updated: Oct 9 at 9:28 PM by dot_NET_Junkie | Created: Sep 26 at 10:20 PM by dot_NET_Junkie

Communicate more expressive exception message when resolving an open-generic type

The container will always create an instance of the requested type. Because of this reason it is impossible to request an open-generic type. Open-generic types can't be created by the .NET runtime....

Id #20970 | Release: Simple Injector v2.6 | Updated: Sep 26 at 10:03 PM by dot_NET_Junkie | Created: Sep 24 at 6:22 PM by dot_NET_Junkie

Cyclic dependency undetected in case of callback inside delegate

Simple Injector contains a cyclic dependency detection mechanism that detect most cyclic dependencies and it prevents a StackOverflowException from being thrown. Unfortunately this mechanism fai...

Id #20969 | Release: Simple Injector v2.6 | Updated: Sep 20 at 10:11 AM by dot_NET_Junkie | Created: Sep 19 at 3:36 PM by dot_NET_Junkie

ServiceActivationException using Simple Injector Wcf Quick Start

Hello! I'm using Simple Injector Wcf Integration Quick Start Nuget package (2.5.2). WCF Service uses named pipe binding (net.pipe). Without Injector service works fine. But with it I see this ...

Id #20967 | Release: None | Updated: Aug 20 at 6:22 PM by sobuctb | Created: Aug 20 at 2:50 PM by sobuctb