Exemplo n.º 1
0
        private static LineUp GetBestLineups(int playerCount)
        {
            IList <GameSnapshot> snapshots = CsvImporter.GetGameSnapShots(CSV_3_SNAPSHOTS);
            var lineup = LineUp.GetBestLineup(playerCount, snapshots);

            return(lineup);
        }
Exemplo n.º 2
0
        private static IList <PlayerData> GetPlayers()
        {
            var snapshots = CsvImporter.GetGameSnapShots(CSV_3_SNAPSHOTS);
            var players   = PlayerData.GetData(snapshots);

            return(players);
        }
Exemplo n.º 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);
            }));
        }
Exemplo n.º 4
0
 private static List <Snapshots> GetSnapshots()
 {
     return(CsvImporter.GetGameSnapShots(CSV_3_SNAPSHOTS));
 }
Exemplo n.º 5
0
        private static IList <GameSnapshot> GetSnapshots()
        {
            IList <GameSnapshot> snapshots = CsvImporter.GetGameSnapShots(CSV_3_SNAPSHOTS);

            return(snapshots);
        }