private void InitialiseThePipeLine()
 {
     pipeline = new PipeLine <PlayerGameProjectionMessage>();
     pipeline.Register(msg => new GetGamePrediction(msg));
     pipeline.Register(msg => new ClearGameMetrics(msg));
     pipeline.Register(msg => new PullMetricsFromPrediction(msg));
     pipeline.Register(msg => new SavePlayerGameMetrics(msg));
 }
Ejemplo n.º 2
0
 private void InitialiseThePipeLine()
 {
     yahooPipeline = new PipeLine <YahooProjectedPointsMessage>();
     yahooPipeline.Register(msg => new LoadPlayerGameMetric(msg));
     yahooPipeline.Register(msg => new AddYahooPassingPoints(msg));
 }