Cedric Vivier - 06/Feb/08 04:38 AM It's almost done but I've noticed something I'm not sure what to do (or not do) with it :
Currently we allow invoking base class events from derived classes.
In our documentation we don't really say it is the case (or very implied) :
"It can't be called from outside its parent class."
C# is clearer about this :
"Derived classes cannot directly invoke events that are declared within the base class."
Should we fix the documentation or only allow invoking events from the declaring class ?
Cedric Vivier - 07/Feb/08 07:04 AM fixed in rev. 2854
boo now only allows raising an event from its declaring class. documentation changed to clearer description.
Currently we allow invoking base class events from derived classes.
In our documentation we don't really say it is the case (or very implied) :
"It can't be called from outside its parent class."
C# is clearer about this :
"Derived classes cannot directly invoke events that are declared within the base class."
Should we fix the documentation or only allow invoking events from the declaring class ?