Suppose an abstract class describes an event.

Is it possible to oblige heirs to use it?

  • 7
    Sign it on the abstract method. - Pavel Mayorov
  • four
    use in what form? Just subscribe? or throw away? - Grundy
  • five
    And what's the point? Well, they will sign, and they will not do anything useful in the handler? - VladD

1 answer 1

As I understand it, you just need to use the interface that contains this event for all heirs.

  • Try to write more detailed answers. Explain what is the basis of your statement? - Nicolas Chabanovsky ♦