Inheritance: IDominoRepository
Exemple #1
0
        private EManagerSynchronizationAgent CreateEManagerChangeRequestSynchronizationAgent()
        {
            var dominoSource = _dominoRepository;

            if (_isDryRun || _isSafeSynch)
            {
                dominoSource = new ReadOnlyDominoRepository(dominoSource);
            }

            var eManagerCrSynchronizationAgent = new EManagerSynchronizationAgent(dominoSource, MapFromEManager);


            return(eManagerCrSynchronizationAgent);
        }
        private EManagerSynchronizationAgent CreateEManagerChangeRequestSynchronizationAgent()
        {
            var dominoSource = _dominoRepository;
            if (_isDryRun || _isSafeSynch)
            {
                dominoSource = new ReadOnlyDominoRepository(dominoSource);
            }

            var eManagerCrSynchronizationAgent = new EManagerSynchronizationAgent(dominoSource, MapFromEManager);

            return eManagerCrSynchronizationAgent;
        }