private static LineUp GetBestLineups(int playerCount) { IList <GameSnapshot> snapshots = CsvImporter.GetGameSnapShots(CSV_3_SNAPSHOTS); var lineup = LineUp.GetBestLineup(playerCount, snapshots); return(lineup); }
private static IList <PlayerData> GetPlayers() { var snapshots = CsvImporter.GetGameSnapShots(CSV_3_SNAPSHOTS); var players = PlayerData.GetData(snapshots); return(players); }
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); })); }
private static List <Snapshots> GetSnapshots() { return(CsvImporter.GetGameSnapShots(CSV_3_SNAPSHOTS)); }
private static IList <GameSnapshot> GetSnapshots() { IList <GameSnapshot> snapshots = CsvImporter.GetGameSnapShots(CSV_3_SNAPSHOTS); return(snapshots); }