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.MarkCollections = new List<MarkCollection>(MarkCollections.Select(x => new MarkCollection(x)));
     return result;
 }
示例#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.MarkCollections = new List<MarkCollection>(MarkCollections.Select(x => new MarkCollection(x)));
			return result;
		}
示例#3
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);
        }
示例#4
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);
        }