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