public void HandlerAskForChat(object o, AskForChatEventArgs e) { if (ChatAsked != null) { ChatAsked(this, e); } }
protected virtual void OnAskForChat(int roomId, string creator, List <string> users) { AskForChatEventArgs e = new AskForChatEventArgs(); e.roomId = roomId; e.creator = creator; e.userList = users; if (ChatAsked != null) { ChatAsked(this, e); } }