On Tue, Jul 13, 2010 at 9:44 AM, John Ginn <john.g...@hambs.com.au> wrote:
> Hi all,

[...]


> Any suggestions on how I could neaten this up?

Seems to me that you should have some general inheritance scheme like:

abstract class BaseResponse
{
   public BaseResponse Perform (BaseRequest request) {
       return PerformInternal(request);
   }

   protected abstract BaseResponse PerformInternal (BaseRequest request);
}

And then implement appropriately ... ? Or is that overkill for some
reason? (Obviously, I haven't actually coded this so you might need to
make some minor changes but the general idea is what I'd do).


> Thanks,
> John


-- 
silky

Every morning when I wake up, I experience an exquisite joy — the joy
of being this signature.

Reply via email to