Well, the simple solution is to give the ctor parameters different names. If that option isn't available (i.e., it's written by a third-party, and I've had that problem), try creating a factory class, who sole purpose is to take a string and create a A2.
On Mar 24, 6:51 am, Maciej Paszta <[email protected]> wrote: > A a1 = cont.Resolve<A> (new {x = 1}); > A a2 = cont.Resolve<A>(new { x = "xxx" }); > > However I get ConverException. > Is there a way to get this functionality to work in Windsor? > -- You received this message because you are subscribed to the Google Groups "Castle Project Users" 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-users?hl=en.
