protected virtual void OnConnectionNotify(ConnectionNotifyEventArgs e) { EventHandler <ConnectionNotifyEventArgs> handler = ConnectionNotify; if (handler != null) { ConnectionNotify(this, e); } }
protected virtual void OnConnectionNotify(ConnectionNotifyEventArgs e) { EventHandler<ConnectionNotifyEventArgs> handler = ConnectionNotify; if (handler != null) { ConnectionNotify(this, e); } }
private void ConnectionNotify(object sender, ConnectionNotifyEventArgs e) { OnServerNotify(this, new NotifyEventArgs(e.message + "\n" + "Client Connection: " + e.clientConnection.ToString())); }