public async Task ServerOpened(int server) { ServerOpenedEvent?.Invoke(this, new ServerEventArgs() { ServerID = server }); }
private void Handle(ServerOpenedEvent @event) { Debug(TraceSourceEventHelper.ServerIdBase + 1, "{0}: opened in {1}ms.", TraceSourceEventHelper.Label(@event.ServerId), @event.Duration.TotalMilliseconds); }