public YahooProjectedPointsMessage Calculate(NFLPlayer p, NFLGame g) { if (yahooPipeline == null) { InitialiseThePipeLine(); } var msg = new YahooProjectedPointsMessage { Player = p }; if (g.IsBye()) { return(msg); } msg.Player.Points = 0.0M; msg.Game = g; if (yahooPipeline != null) { yahooPipeline.Execute(msg); } return(msg); }
public YahooProjectedPointsMessage Calculate( NFLPlayer p, NFLGame g ) { if ( yahooPipeline == null ) InitialiseThePipeLine(); var msg = new YahooProjectedPointsMessage { Player = p }; if (g.IsBye()) return msg; msg.Player.Points = 0.0M; msg.Game = g; if (yahooPipeline != null) yahooPipeline.Execute( msg ); return msg; }