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)); }
private void InitialiseThePipeLine() { yahooPipeline = new PipeLine <YahooProjectedPointsMessage>(); yahooPipeline.Register(msg => new LoadPlayerGameMetric(msg)); yahooPipeline.Register(msg => new AddYahooPassingPoints(msg)); }