Make all classes that implement an interface automatically subscribe to a specific static event

前端 未结 0 520
感情败类
感情败类 2021-01-18 16:07

I\'m using the event-based design pattern and I want to know if there\'s a simple and clean way to make all classes that implement a certain interface also subscribe to a pu

相关标签:
回答
  • 消灭零回复
提交回复
热议问题