コード例 #1
0
 public IndexPageViewModel(ITournament t, ISubmittedBets sb, IResults actual)
 {
     _tournament = t;
     CreateGroups();
     CreateBetterlist(sb.GetBetters(), sb, actual);
     MarkWinnerIfFinished(actual);
     TimeStamp = actual.GetTimeStamp();
 }
コード例 #2
0
 public IndexPageViewModel(ITournament t, ISubmittedBets sb, IResultCollection rc)
 {
     _tournament = t;
     CreateGroups();
     CreateBetterlist(sb.GetBetters(), sb, rc);
     EvaluateTrends();
     MarkWinnerIfFinished(rc.Current);
     TimeStamp = rc.Current.GetTimeStamp();
 }