public void InsertSectionBreak(SectionBreak newSectionBreak) { if (newSectionBreak.time <= 0 || newSectionBreak.time >= this.length) { return; } this.sectionBreaks.RemoveAll(sb => sb.time == newSectionBreak.time); this.sectionBreaks.Add(newSectionBreak); }
public void RemoveSectionBreak(SectionBreak sectionBreak) { this.sectionBreaks.Remove(sectionBreak); }