On May 3, 2006, at 8:51 AM, Maximilian Tyrtania wrote:
I wonder what exactly you could do with abstract classes, that
can't be done
with events.
This solution is similar to creating a class with noop methods. It
does define the common functionality, but it doesn't prevent the
class from being instantiated directly (though that could be handled
with a private constructor I suppose), and it doesn't guarantee that
the methods are implemented by the subclass.
But, it is definitely one workaround. As I said, I haven't had a
problem with RB because its lack of abstract classes, but I would
certainly make use of them if they did exist.
-jason
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>