Re: Any idea for a solution to handle overloads when dynamically implementing methods?

2013-09-12 Thread Gary Willoughby
On Wednesday, 11 September 2013 at 18:24:31 UTC, H. S. Teoh wrote: On Mon, Sep 09, 2013 at 10:16:42PM +0200, Gary Willoughby wrote: Just wondered if i could pick you brains for a nice solution to dynamically add methods to a class, paying particular attention to overloads. I'm currently

Re: Any idea for a solution to handle overloads when dynamically implementing methods?

2013-09-11 Thread H. S. Teoh
On Mon, Sep 09, 2013 at 10:16:42PM +0200, Gary Willoughby wrote: Just wondered if i could pick you brains for a nice solution to dynamically add methods to a class, paying particular attention to overloads. I'm currently writing a mocking framework and everything's coming along nicely and i'm

Any idea for a solution to handle overloads when dynamically implementing methods?

2013-09-09 Thread Gary Willoughby
Just wondered if i could pick you brains for a nice solution to dynamically add methods to a class, paying particular attention to overloads. I'm currently writing a mocking framework and everything's coming along nicely and i'm wondering how to handle replacing overloads of the mocked class.