How to count how many listeners are hooked to an event?

后端 未结 0 651
感动是毒
感动是毒 2021-02-11 14:04

Assuming I have declared

public event EventArgs MessageReceived;

public int SubscribedClients
{
    get [...]
}

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