Beispiel #1
0
        /// <summary> Returns a new SegmentInfos containg the SegmentInfo
        /// instances in the specified range first (inclusive) to
        /// last (exclusive), so total number of segments returned
        /// is last-first.
        /// </summary>
        public SegmentInfos Range(int first, int last)
        {
            SegmentInfos infos = new SegmentInfos();

            infos.AddRange((System.Collections.IList)((System.Collections.ArrayList) this).GetRange(first, last - first));
            return(infos);
        }
        /// <summary> Returns a new SegmentInfos containg the SegmentInfo
        /// instances in the specified range first (inclusive) to
        /// last (exclusive), so total number of segments returned
        /// is last-first.
        /// </summary>
        public SegmentInfos Range(int first, int last)
        {
            SegmentInfos infos = new SegmentInfos();

            infos.AddRange(this.GetRange(first, last - first));
            return(infos);
        }
 /// <summary> Returns a new SegmentInfos containg the SegmentInfo
 /// instances in the specified range first (inclusive) to
 /// last (exclusive), so total number of segments returned
 /// is last-first.
 /// </summary>
 public SegmentInfos Range(int first, int last)
 {
     SegmentInfos infos = new SegmentInfos();
     infos.AddRange((System.Collections.IList)((System.Collections.ArrayList)this).GetRange(first, last - first));
     return infos;
 }