Firstly let me explain how much I LOVE Unity. It is by far my favourite (sorry, UK spelling!) dependency injection library - even outside of .NET.
I personally find that explicitly defining my DI...
Id #12773 | Release:
| Updated: Feb 7 at 1:51 PM by tommed | Created: Feb 7 at 1:40 PM by tommed
It would be very useful to provide a dynamic implementation of the interface at runtime.
A common scenario it would enable is automatic typed factories. Consider the class and interface below:
Id #12772 | Release:
| Updated: Jan 31 at 2:38 PM by tom103 | Created: Jan 31 at 2:38 PM by tom103
It appears that when make use of Design time configuration with Unity, it does not like if the type you are mapping to exists in a file with other types. In my case I have an interface that inherit...
Id #12771 | Release:
| Updated: Dec 24, 2014 at 1:28 PM by arifkh | Created: Dec 23, 2014 at 11:01 PM by arifkh
As part of the example code for MediatR on GitHub there are a number of implementations for different IoC containers.
The example sets up a number of Notification handlers which the mediator publ...
Id #12770 | Release:
| Updated: Dec 16, 2014 at 7:06 PM by randylevy | Created: Dec 16, 2014 at 3:53 PM by WestDiscGolf
Please implement the System.IServiceProvider interface.
It's a no-brainer and not a breaking change of any kind.
Will help integrate the Dependency inversion principle into 3rd party applications...
Id #12769 | Release:
| Updated: Nov 1, 2014 at 3:59 PM by abatishchev | Created: Nov 1, 2014 at 7:15 AM by abatishchev
Reproducible with the following example:
class Foo<TBar> : IFoo<TBar> where TBar : IBar
Id #12768 | Release:
| Updated: Oct 29, 2014 at 7:30 PM by randylevy | Created: Oct 29, 2014 at 6:29 PM by OliverHallam
After doing an update of all NuGet packages, one of my applications began crashing on start-up with a FileLoadException:
Could not load file or assembly 'Microsoft.Practices.ServiceLocation, Versio...
Id #12767 | Release:
| Updated: Nov 11, 2014 at 7:03 PM by fcheung | Created: Oct 20, 2014 at 11:29 PM by CharlieHess
This is a very odd error. It pops up sporadically, with no apparent cause. So here is what I did:
I have a WPF application that targets .NET 4.5
I installed Unity from NuGet, and added a contain...
Id #12766 | Release:
| Updated: Oct 8, 2014 at 7:19 PM by cjrogala | Created: Oct 8, 2014 at 7:19 PM by cjrogala
I need to register types in Unity.Config file and have this issue where remote object cannot be registered when done from the XML Configuration file. For e.g: This works
Id #12765 | Release:
| Updated: Sep 22, 2014 at 3:49 AM by randylevy | Created: Sep 19, 2014 at 7:51 PM by RMK_P
The Unity container doesn’t work on real device in Xamarin.iOS. It works fine only the simulator. I get following two errors, if I try to start my simple test project on iPhone (iOS 7.1):
Id #12764 | Release:
| Updated: Aug 25, 2014 at 7:52 AM by MarianG | Created: Aug 23, 2014 at 9:01 AM by MarianG