Hi, I was a newbie back then. But have now resolved the issue by dint of perseverance etc.
All the best Kim PS I'm a bit of a fan of yours and keep up with your posts. From: [email protected] [mailto:[email protected]] On Behalf Of Chris Canal Sent: Tuesday, 8 February 2011 2:36 AM To: [email protected] Subject: Re: Castle implementation of Jimmy Bogard's IResultMethod Can you post your registration code for ActionMethodResultInvokerFacade? On Fri, Dec 10, 2010 at 12:04 AM, Kim <[email protected]<mailto:[email protected]>> wrote: Hi, I'm a newbie to Castle Windsor and I tried to implement Jimmy Bogard's StructureMap implementation of his IResultMethod with its handlers, facades etc in Castle but it only worked to a certain point. Has anyone tried to implement it in Castle? I'm sure just looking at Jimmy's code someone should be able to see pretty quickly how it should be done in Castle. For your info I get to the point var actionMethod = container.Resolve<IActionMethodResult>(); var openWrappedType = typeof(ActionMethodResultInvokerFacade<>); var actionMethodResultType = actionMethod.GetType(); var wrappedResultType = openWrappedType.MakeGenericType(actionMethodResultType); But I get the error saying no component can be found for ActionMethodResultInvokerFacade<my implementation of the IResultMethod here> Jimmy's stuff at: http://www.lostechies.com/blogs/jimmy_bogard/archive/2010/05/04/dependency-injection-in-asp-net-mvc-action-results.aspx Regards Kim -- 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]<mailto:[email protected]>. To unsubscribe from this group, send email to [email protected]<mailto:castle-project-devel%[email protected]>. For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en. -- "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." -Martin Fowler et al, Refactoring: Improving the Design of Existing Code -- 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. Notice: The information contained in this email message and any attached files may be confidential information, and may also be the subject of legal professional privilege. If you are not the intended recipient any use, disclosure or copying of this email is unauthorised. If you received this email in error, please notify the sender by contacting the DEEWR Switchboard on 13 33 97 (1DEEWR) during business hours (8am - 8pm AEST) and delete all copies of this transmission together with any attachments. -- 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.
