Exemple #1
0
        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);
        }
Exemple #2
0
 public void RemoveSectionBreak(SectionBreak sectionBreak)
 {
     this.sectionBreaks.Remove(sectionBreak);
 }