G
Guest
As far as I can see it is not possible to define an event in an interface.
(correct?)
This seems odd since the events that an object support are part of its
contract. It seem perfectly reasonable to define an interface that states
"this framework needs to have objects that support these methods and expose
these events".
I know I can do it via base class inheritance but I prefer not to do this
since it forces implementation on the implementers of the contract.
Did I miss something?
Any ideas on how to do it?
(correct?)
This seems odd since the events that an object support are part of its
contract. It seem perfectly reasonable to define an interface that states
"this framework needs to have objects that support these methods and expose
these events".
I know I can do it via base class inheritance but I prefer not to do this
since it forces implementation on the implementers of the contract.
Did I miss something?
Any ideas on how to do it?