Exemple #1
0
        private void LoadTopUpdaters()
        {
            var updaters = new StatsManagement(Global.ConnectionString, SessionProps).GetTopUpdaters(
                SessionProps.SelectedTournament.GUID).OrderByDescending(kv => kv.Value);

            var output = updaters.Aggregate(String.Empty, (current, keyValuePair) => current + String.Format("{0} {1} ({2})<br>", keyValuePair.Key.FirstName, keyValuePair.Key.LastName, keyValuePair.Value));

            TopUpdatersPanel.Text = output;
        }