Ejemplo n.º 1
0
        private static string Prediction(NflTeam team, IPrognosticate predictor)
        {
            var predictionStr = String.Empty;

            if (team != null)
            {
                predictionStr =
                    HtmlLib.TableOpen("BORDER='1' CELLSPACING='0' CELLPADDING='0'") +
                    HtmlLib.TableRowOpen() +
                    HtmlLib.TableDataAttr(team.Name, "COLSPAN='19'") +
                    HtmlLib.TableRowClose() +
                    team.SeasonProjection(predictor, "Spread", DateTime.Now);
            }
            return(predictionStr);
        }