Пример #1
0
        /// <summary>
        /// Creates new data instance and copies data from this collection to the new one.
        /// </summary>
        /// <returns>
        /// New data instance and copies data from this collection to the new one.
        /// </returns>
        public TrackingSnapshotDataAssociativeContainer Copy()
        {
            TrackingSnapshotDataAssociativeContainer data = new TrackingSnapshotDataAssociativeContainer();

            data.IndexData = IndexData.Copy();
            data.tracker   = new ChangeTracker <IReadOnlySnapshotData>(data.DataId, data, this.tracker);

            return(data);
        }