protected override void ReadSequences() { XmlSequenceListSerializer sequenceListSerializer = new XmlSequenceListSerializer(); IEnumerable <ISequence> sequences = sequenceListSerializer.ReadObject(_content); _program.Sequences.Clear(); _program.Sequences.AddRange(sequences); }
protected override void ReadSequences() { XmlSequenceListSerializer sequenceListSerializer = new XmlSequenceListSerializer(); IEnumerable<ISequence> sequences = sequenceListSerializer.ReadObject(_content); _program.Sequences.Clear(); _program.Sequences.AddRange(sequences); }
protected override void WriteSequences() { XmlSequenceListSerializer sequenceListSerializer = new XmlSequenceListSerializer(); _content.Add(sequenceListSerializer.WriteObject(_program.Sequences)); }