Constructors with optional arguments are not supported

I have a class with an optional constructor argument that I want to register as a singleton, but the container throws an exception at registration saying the constructor contains a parameter that c...

Id #20983 | Release: None | Updated: Today at 11:18 AM by dot_NET_Junkie | Created: Today at 1:37 AM by Zodman

Allow injecting and resolving arrays.

See the following discussion: https://simpleinjector.codeplex.com/discussions/570561.

Id #20982 | Release: None | Updated: Sun at 1:48 PM by dot_NET_Junkie | Created: Sun at 12:30 PM by dot_NET_Junkie

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: Sun at 1:48 PM by dot_NET_Junkie | Created: Oct 25 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: Mon at 7:18 AM by dot_NET_Junkie | Created: Oct 24 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: Oct 25 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: Wed at 9:55 PM 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: Sun at 2:00 PM by dot_NET_Junkie | Created: Sep 30 at 8:06 PM by qujck

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