Exemplo n.º 1
0
        public override IModuleDataModel Clone()
        {
            TimedSequenceData result = new TimedSequenceData();

            // Cloning each MarkCollection so that the cloned data objects don't share references
            // and step on each other.
            result.LabeledMarkCollections = LabeledMarkCollections.Select(x => (Vixen.Sys.Marks.MarkCollection)x.Clone()).ToList();
            return(result);
        }
Exemplo n.º 2
0
        public override IModuleDataModel Clone()
        {
            TimedSequenceData result = new TimedSequenceData();

            // Cloning each MarkCollection so that the cloned data objects don't share references
            // and step on each other.
            result.LabeledMarkCollections = new ObservableCollection <IMarkCollection>(LabeledMarkCollections.Select(x => (IMarkCollection)x.Clone()));
            return(result);
        }