public void DumpPlayers() { SetOutput(); if (PlayerList == null) { PlayerList = _rosterMaster.GetPitchers( FantasyTeam, DateTime.Now); } foreach (var player in PlayerList) { Player = player; DumpSeason(); } CloseOutput(); }
protected System.Collections.Generic.List <string> GetRoster( IRosterMaster rosterMaster, string fantasyTeam, DateTime asOf) { FantasyTeam = fantasyTeam; if (DoPitchers) { return(rosterMaster.GetPitchers( fantasyTeam, asOf)); } return(rosterMaster.GetBatters( fantasyTeam, asOf)); }