Beispiel #1
0
        private void DumpRatingsHt()
        {
            var myEnumerator = RatingsHt.GetEnumerator();
            var i            = 0;

            Utility.Announce("\t-INDEX-\t-KEY-\t-VALUE-");
            while (myEnumerator.MoveNext())
            {
                var ratings = (NibbleTeamRating)myEnumerator.Value;
                Utility.Announce(string.Format("\t[{0}]:\t{1}\t{2}", i++, myEnumerator.Key, ratings));
            }
        }
        private void DumpRatingsHt(DateTime when)
        {
            var myEnumerator = RatingsHt.GetEnumerator();
            var i            = 0;

            Utility.Announce(string.Format("\t-INDEX-\t-KEY-\t-VALUE-  Ranked at {0}", when.ToShortDateString()));
            while (myEnumerator.MoveNext())
            {
                Utility.Announce(string.Format("\t[{0}]:\t{1}\t{2}\t{3}",
                                               i++, myEnumerator.Key, myEnumerator.Value,
                                               Utility.RatingPts(myEnumerator.Value.ToString())));
            }
        }