Overwrite Possible?

Overwrite Possible?

Old forum URL: forums.lhotka.net/forums/t/10892.aspx


jh72i posted on Thursday, November 17, 2011

Just struck me that with all the new featues and fun of the c# language in recent years that there might now be a way to achieve something I do more gracefully.....

I have a need to change a few behaviours of core Csla so I override the odd method here and there. My problems is there are several methods that are private or not virtual so I need to actually make changes to the Csla code. Obviously I'd really like to avoid that.

Is there anyway I can achieve this without changing the core Csla code?

 

Note: just to clarify: the changes I make in the Clsa code are to tag methods, etc. as virtual or protected. I don't actually plumb any logic changes in those methods.

Copyright (c) Marimer LLC