Пример #1
0
        public IPipeline <IEnumerable <GameRoot> > Build()
        {
            var nodes = GetNodesCopy();

            _pipelineNodes.Clear();

            var pipeline = new GameRootPipeline(nodes, _gameRootRepository);

            return(pipeline);
        }
Пример #2
0
 public void Setup()
 {
     _gameRootRepository = A.Fake <IAsyncRepository <GameRoot> >();
     _gameRootPipeline   = new GameRootPipeline(CreateTestNodes(), _gameRootRepository);
 }