コード例 #1
0
        public UpNextControlViewModel(int tournamentID)
        {
            this.TournamentID = tournamentID;
            this.NextRaces    = new ObservableCollection <UpNextRaceViewModel>();

            TournamentManager.NextRacesUpdated += TournamentManager_NextRacesUpdated;

            PopulateNextRaces(TournamentManager.GetNextRaces(this.TournamentID));
        }
コード例 #2
0
ファイル: RlmHub.cs プロジェクト: scottmcclay/RaceLaneManager
 public void RequestGetNextRaces(int tournamentID)
 {
     Clients.Caller.getNextRacesResponse(TournamentManager.GetNextRaces(tournamentID));
 }