예제 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="MergeAliasStructureWorker"/> class.
        /// </summary>
        /// <param name="writeableTargetStructure">The writeable target structure.</param>
        /// <param name="worker">The worker.</param>
        public MergeAliasStructureWorker(IWriteableSnapshotStructure writeableTargetStructure, TrackingMergeStructureWorker worker)
        {
            this.writeableTargetStructure = writeableTargetStructure;
            this.worker = worker;

            references = new ReferenceCollector(writeableTargetStructure);
        }
예제 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="MergeObjectsStructureWorker"/> class.
        /// </summary>
        /// <param name="writeableTargetStructure">The writeable target structure.</param>
        /// <param name="worker">The worker.</param>
        public MergeObjectsStructureWorker(IWriteableSnapshotStructure writeableTargetStructure, TrackingMergeStructureWorker worker)
        {
            this.writeableTargetStructure = writeableTargetStructure;
            this.worker = worker;

            objectValues = new HashSet <ObjectValue>();
        }
예제 #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="MergeArrayStructureWorker"/> class.
        /// </summary>
        /// <param name="writeableTargetStructure">The writeable target structure.</param>
        /// <param name="worker">The worker.</param>
        public MergeArrayStructureWorker(IWriteableSnapshotStructure writeableTargetStructure, TrackingMergeStructureWorker worker)
        {
            this.writeableTargetStructure = writeableTargetStructure;
            this.worker = worker;

            sourceArrays = new List <ContainerContext>();
        }