示例#1
0
        public void Insert(int index, ExerciseSegment item)
        {
            if (item == null)
            {
                throw new ArgumentNullException("item");
            }

            m_items.Insert(index, item);
        }
示例#2
0
        public void Add(ExerciseSegment item)
        {
            if (item == null)
            {
                throw new ArgumentNullException("item");
            }

            m_items.Add(item);
        }
示例#3
0
 public bool Remove(ExerciseSegment item)
 {
     return(m_items.Remove(item));
 }
示例#4
0
 public int IndexOf(ExerciseSegment item)
 {
     return(m_items.IndexOf(item));
 }
示例#5
0
 public bool Contains(ExerciseSegment item)
 {
     return(m_items.Contains(item));
 }