Пример #1
0
        private static LineUp GetBestLineups(int playerCount)
        {
            IList <GameSnapshot> snapshots = CsvImporter.GetGameSnapShots(CSV_3_SNAPSHOTS);
            var lineup = LineUp.GetBestLineup(playerCount, snapshots);

            return(lineup);
        }
Пример #2
0
        private static IList <PlayerData> GetPlayers()
        {
            var snapshots = CsvImporter.GetGameSnapShots(CSV_3_SNAPSHOTS);
            var players   = PlayerData.GetData(snapshots);

            return(players);
        }
Пример #3
0
        private void Csv_TextChanged(object sender, EventArgs e)
        {
            List <GameSnapshot> snapShots = CsvImporter.GetGameSnapShots(this.CurrentText);


            Application.Current.Dispatcher.BeginInvoke(
                //DispatcherPriority.Background,
                new Action(() => {
                this._viewModel.SetSnapShots(snapShots);
            }));
        }
Пример #4
0
 private static List <Snapshots> GetSnapshots()
 {
     return(CsvImporter.GetGameSnapShots(CSV_3_SNAPSHOTS));
 }
Пример #5
0
        private static IList <GameSnapshot> GetSnapshots()
        {
            IList <GameSnapshot> snapshots = CsvImporter.GetGameSnapShots(CSV_3_SNAPSHOTS);

            return(snapshots);
        }