Пример #1
0
 internal InstanceReplicationPreparer(IReplicationProviderInside providerA, IReplicationProviderInside
                                      providerB, IReplicationProvider directionTo, IReplicationEventListener listener
                                      , bool isReplicatingOnlyDeletions, HashSet4 uuidsProcessedInSession, ITraverser
                                      traverser, ReplicationReflector reflector, Db4objects.Drs.Inside.ICollectionHandler
                                      collectionHandler)
 {
     _event       = new ReplicationEventImpl();
     _stateInA    = _event._stateInProviderA;
     _stateInB    = _event._stateInProviderB;
     _providerA   = providerA;
     _providerB   = providerB;
     _directionTo = directionTo;
     _listener    = listener;
     _isReplicatingOnlyDeletions = isReplicatingOnlyDeletions;
     _uuidsProcessedInSession    = uuidsProcessedInSession;
     _traverser         = traverser;
     _reflector         = reflector;
     _collectionHandler = collectionHandler;
 }
		internal InstanceReplicationPreparer(IReplicationProviderInside providerA, IReplicationProviderInside
			 providerB, IReplicationProvider directionTo, IReplicationEventListener listener
			, bool isReplicatingOnlyDeletions, long lastReplicationVersion, HashSet4 uuidsProcessedInSession
			, ITraverser traverser, ReplicationReflector reflector, Db4objects.Drs.Inside.ICollectionHandler
			 collectionHandler)
		{
			_event = new ReplicationEventImpl();
			_stateInA = _event._stateInProviderA;
			_stateInB = _event._stateInProviderB;
			_providerA = providerA;
			_providerB = providerB;
			_directionTo = directionTo;
			_listener = listener;
			_isReplicatingOnlyDeletions = isReplicatingOnlyDeletions;
			_lastReplicationVersion = lastReplicationVersion;
			_uuidsProcessedInSession = uuidsProcessedInSession;
			_traverser = traverser;
			_reflector = reflector;
			_collectionHandler = collectionHandler;
		}