Exemplo n.º 1
0
        public ReplicationReflector(IReplicationProvider providerA, IReplicationProvider
                                    providerB, IReflector reflector)
        {
            if (reflector == null)
            {
                if ((_container = ContainerFrom(providerA)) != null)
                {
                    return;
                }
                if ((_container = ContainerFrom(providerB)) != null)
                {
                    return;
                }
            }
            GenericReflector genericReflector = new GenericReflector(null, reflector == null ?
                                                                     Platform4.ReflectorForType(typeof(Db4objects.Drs.Inside.ReplicationReflector)) :
                                                                     reflector);

            Platform4.RegisterCollections(genericReflector);
            _reflector = genericReflector;
        }