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

后端 未结 0 1087
予麋鹿
予麋鹿 2021-02-11 14:04

Assuming I have declared

public event EventArgs MessageReceived;

public int SubscribedClients
{
    get [...]
}

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