Beispiel #1
0
        private WhiskWorkSynchronizationAgent CreateWhiskWorkSynchronizationAgent()
        {
            IWhiskWorkRepository whiskWorkRepository = _whiskWorkRepository;

            if (_isDryRun)
            {
                whiskWorkRepository = new ReadOnlyWhiskWorkRepository(whiskWorkRepository);
            }

            return(new WhiskWorkSynchronizationAgent(whiskWorkRepository, MapFromWhiskWork, WhiskWorkBeginStep));
        }
 protected override EManagerWhiskWorkSynchronizer CreateSynchronizer(IWhiskWorkRepository whiskWorkRepository, IDominoRepository dominoRepository)
 {
     return(new ProblemReportSynchronizer(whiskWorkRepository, dominoRepository));
 }
 public ReadOnlyWhiskWorkRepository(IWhiskWorkRepository internalRepository)
 {
     _internalRepository = internalRepository;
 }
 protected override EManagerWhiskWorkSynchronizer CreateSynchronizer(IWhiskWorkRepository whiskWorkRepository,
                                                                     IDominoRepository dominoRepository)
 {
     return(new ChangeRequestSynchronizer(whiskWorkRepository, dominoRepository));
 }
Beispiel #5
0
 protected abstract EManagerWhiskWorkSynchronizer CreateSynchronizer(IWhiskWorkRepository whiskWorkRepository,
                                                                     IDominoRepository dominoRepository);
 public EManagerWhiskWorkSynchronizer(IWhiskWorkRepository whiskWorkRepository, IDominoRepository dominoRepository)
 {
     _whiskWorkRepository = whiskWorkRepository;
     _dominoRepository = dominoRepository;
 }
 public ChangeRequestSynchronizer(IWhiskWorkRepository whiskWorkRepository, IDominoRepository dominoRepository)
     : base(whiskWorkRepository, dominoRepository)
 {
 }
 public void Init()
 {
     _mocks = new MockRepository();
     _whiskWorkRepository = _mocks.Stub<IWhiskWorkRepository>();
     _dominoRepository = _mocks.Stub<IDominoRepository>();
 }
 protected abstract EManagerWhiskWorkSynchronizer CreateSynchronizer(IWhiskWorkRepository whiskWorkRepository,
                                                                     IDominoRepository dominoRepository);
 public ProblemReportSynchronizer(IWhiskWorkRepository whiskWorkRepository, IDominoRepository dominoRepository) : base(whiskWorkRepository, dominoRepository)
 {
 }
Beispiel #11
0
 public void Init()
 {
     _mocks = new MockRepository();
     _whiskWorkRepository = _mocks.Stub <IWhiskWorkRepository>();
     _dominoRepository    = _mocks.Stub <IDominoRepository>();
 }
 public WhiskWorkSynchronizationAgent(IWhiskWorkRepository repository, Converter<IEnumerable<WorkItem>,IEnumerable<SynchronizationEntry>> mapper, string beginStepPath)
 {
     _repository = repository;
     _beginStep = WorkStep.New(beginStepPath);
     _mapper = mapper;
 }
 public ReadOnlyWhiskWorkRepository(IWhiskWorkRepository internalRepository)
 {
     _internalRepository = internalRepository;
 }
 public ProblemReportSynchronizer(IWhiskWorkRepository whiskWorkRepository, IDominoRepository dominoRepository)
     : base(whiskWorkRepository, dominoRepository)
 {
 }
Beispiel #15
0
 public WhiskWorkSynchronizationAgent(IWhiskWorkRepository repository, Converter <IEnumerable <WorkItem>, IEnumerable <SynchronizationEntry> > mapper, string beginStepPath)
 {
     _repository = repository;
     _beginStep  = WorkStep.New(beginStepPath);
     _mapper     = mapper;
 }
 protected override EManagerWhiskWorkSynchronizer CreateSynchronizer(IWhiskWorkRepository whiskWorkRepository, IDominoRepository dominoRepository)
 {
     return new ProblemReportSynchronizer(whiskWorkRepository, dominoRepository);
 }
Beispiel #17
0
 public EManagerWhiskWorkSynchronizer(IWhiskWorkRepository whiskWorkRepository, IDominoRepository dominoRepository)
 {
     _whiskWorkRepository = whiskWorkRepository;
     _dominoRepository    = dominoRepository;
 }
 public ChangeRequestSynchronizer(IWhiskWorkRepository whiskWorkRepository, IDominoRepository dominoRepository) : base(whiskWorkRepository, dominoRepository)
 {
 }