protected virtual void OnServerMessageReceived(ServerMessageReceivedArgs args) { var func = ServerMessageRecieved; if (func != null) { func(this, args); } }
void EngineServerMessageRecieved(ServerMessageReceivedArgs e = null) { if (e == null) throw new ArgumentNullException("e"); DispatchMessage(e.Message); }