[Test]
        public void RegisterGenericType_WithServiceAllInterfaces()
        {
            Assert.DoesNotThrow(() => 
Kernel.Register(Classes.From(typeof(Dictionary<,>)).Pick().WithServiceAllInterfaces()));
        }

On Tuesday, July 10, 2012 6:10:57 PM UTC-4, Krzysztof Koźmic wrote:
>
> Thanks.
>
> Can you create an actual failing test? 
>
> Thanks
> @k
> On Jul 11, 2012 8:09 AM, "bling" <[email protected]> wrote:
>
>> the following works with 3.0, but throws an exception in 3.1
>>
>> var c = new WindsorContainer();
>>
>> c.Register(Classes.From(typeof(Dictionary<,>)).Pick().WithServiceBase().WithServiceAllInterfaces());
>>
>> i'm not sure what the actual issue is, but exception message complained 
>> about ICollection<KeyValuePair<,>> so i took a guess and was able to 
>> reproduce.  a class similar to that signature does exist in my actual code.
>>
>> thanks,
>> bling
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Castle Project Users" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/castle-project-users/-/M4VIrLskVH8J.
>> To post to this group, send email to 
>> [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/castle-project-users?hl=en.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/castle-project-users/-/f2QKPH2AibYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to