public CreatingPipeline() { var builder = new BackBoneBuilder <bool, int>(); builder.Register(new Transformer()); builder.Register(new Parser()); builder.Register(new Counter()); _BackBone = builder.GetBackBone(); }
public BackBoneBuilderTest() { _Processors = new Dictionary <Type, object>(); _Processor = Substitute.For <IProcessor <bool, string, int> >(); _Transformer = Substitute.For <ITransformProcessor <bool, string, int> >(); _IProcessorFinalizer = Substitute.For <IProcessorFinalizer <bool, int, int> > (); _BackBone = Substitute.For <IBackbone <bool, int> >(); _Progress = Substitute.For <IProgress <int> >(); _Builder = new BackBoneBuilder <bool, int>(dic => { _Processors = dic; return(null); }); }
public BackBoneBuilderTest() { _Processors = new Dictionary<Type, object>(); _Processor = Substitute.For<IProcessor<bool, string, int>>(); _Transformer = Substitute.For<ITransformProcessor<bool, string, int>>(); _IProcessorFinalizer = Substitute.For<IProcessorFinalizer<bool, int, int>> (); _BackBone = Substitute.For<IBackbone<bool, int>>(); _Progress = Substitute.For<IProgress<int>>(); _Builder = new BackBoneBuilder<bool, int>(dic => { _Processors = dic; return null; }); }