Kenneth,

Currently you can't do this, but I think it's just an omission (as you
can read in this post
http://kozmic.pl/archive/2009/07/01/castle-dynamic-proxy-tutorial-part-xi-when-one-interface-is.aspx).

Technically however I can see no reason why this could not be done so
please add this to Castle' issue tracker and I think we'll be able to
fix it for v2.2.

Krzysztof

On Jul 3, 4:07 pm, Kenneth Xu <[email protected]> wrote:
> Yeap! Fabulous job, Krzysztof and Tuna. Will certainly report if I
> find anything else. I guess the concurrent API is really stressing DP
> and RM. In the mean time, I do have a feature request. Be able to
> intercept the non-virtual interface implementation method. Below is an
> example, can castle do something what MyProxy does?
>
>     public interface ICommon { void Foo(); }
>
>     public class ThirdParty : ICommon {
>         public void Foo() { Console.WriteLine("From 3rd Party."); }
>         /* other additional features */
>     }
>
>     public class MyProxy : ThirdParty, ICommon {
>         void ICommon.Foo() {
>             Console.WriteLine("From proxy.");
>             base.Foo();
>         }
>     }
>
> On Thu, Jul 2, 2009 at 4:32 PM, Tuna Toksoz<[email protected]> wrote:
> > I verify this test passes with new DP bits.
>
> > Tuna Toksöz
> > Eternal sunshine of the open source mind.
>
> >http://devlicio.us/blogs/tuna_toksoz
> >http://tunatoksoz.com
> >http://twitter.com/tehlike
>
> > 2009/7/2 Krzysztof Koźmic <[email protected]>
>
> >> Fixed in the trunk.
>
> >> Thanks for reporting this.
>
> >> Krzysztof
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" 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/RhinoMocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to