Exemplo n.º 1
0
 public void DumpPlayers()
 {
     SetOutput();
     if (PlayerList == null)
     {
         PlayerList = _rosterMaster.GetPitchers(
             FantasyTeam, DateTime.Now);
     }
     foreach (var player in PlayerList)
     {
         Player = player;
         DumpSeason();
     }
     CloseOutput();
 }
Exemplo n.º 2
0
 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));
 }