public DataStreams(DataStreams original) : this() { _mainStream.AddData(original._mainStream); foreach (DataStream dataStream in original._dataStreams.Skip(1)) { DataStream newStream = new DataStream(dataStream.Name); newStream.AddData(dataStream); _dataStreams.Add(newStream); } }
protected Sequence(Sequence original) { FilePath = original.FilePath; InsertDataListener = new InsertDataListenerStack(); InsertDataListener += _DataListener; Data = new DataStreams(original.Data); _sequenceFilterStreamId = original._sequenceFilterStreamId; TimingProvider = new TimingProviders(this, original.TimingProvider); RuntimeBehaviors = Modules.ModuleManagement.GetAllRuntimeBehavior(); ModuleDataSet = (ModuleLocalDataSet)original.ModuleDataSet.Clone(); Length = original.Length; }
protected Sequence() { FilePath = ""; InsertDataListener = new InsertDataListenerStack(); InsertDataListener += _DataListener; Data = new DataStreams(); _sequenceFilterStreamId = Data.CreateStream("SequenceFilter"); TimingProvider = new TimingProviders(this); RuntimeBehaviors = Modules.ModuleManagement.GetAllRuntimeBehavior(); ModuleDataSet = new ModuleLocalDataSet(); _media = new MediaCollection(); }
private void _InitDataStreams() { DataStreams = new DataStreams(); EffectData = DataStreams.GetDataStream(null); SequenceFilterData = DataStreams.CreateStream("SequenceFilter"); }