Hi there, 
        
The issue IOC-ISSUE-190 was just created by Davy Brion (davybrion).
        
        Key: IOC-ISSUE-190
        Summary: Resolve with argumentsAsAnonymousType overload is now case 
sensitive
        Type: Bug
        Importance: Medium
        
        Description:
        the following test used to work with Windsor 2.0 (not sure which 
version of MicroKernel it used) but no longer works after upgrading to Windsor 
2.1:
public interface IView { }
 
    public class View : IView { }
 
    public class Controller
    {
        public IView View { get; set; }
 
        public Controller(IView view)
        {
            View = view;
        }
    }
 
    [TestFixture]
    public class Temp
    {
        [Test]
        public void Blah()
        {
            var container = new WindsorContainer();
            
container.Register(Component.For<Controller>().ImplementedBy<Controller>().LifeStyle.Transient);
            container.Resolve<Controller>(new { View = new View() });
        }
    }
if you modify the anonymous type to new { view = new View() }); (notice the 
difference in casing) it works again
        
For more, see 
http://support.castleproject.org/projects/IOC/issues/view/IOC-ISSUE-190
 
        
--
donjon
by Castle Stronghold
http://www.castle-donjon.com


-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
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-devel?hl=en.


Reply via email to