示例#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);
        }
示例#2
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;
		}