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
"An error occurred when trying to create a controller of type 'AirTimeController'. Make sure that the controller has a parameterless public constructor."
Id #12763 | Release:
| Updated: Aug 8, 2014 at 11:23 AM by dot_NET_Junkie | Created: Aug 6, 2014 at 7:47 PM by King007
The constructor of the UnityServiceLocator class calls the container.RegisterInstance method to register itself and in doing that it creates both a concurrency bug and a memory leak, since the use...
Id #12762 | Release:
| Updated: Jul 21, 2014 at 2:01 PM by qujck | Created: Jul 21, 2014 at 10:35 AM by dot_NET_Junkie