예제 #1
0
파일: Range.cs 프로젝트: itcthienkhiem/LIS
		/// <summary>
		/// Adds the elements of another GridRangeCollection to the end of this GridRangeCollection.
		/// </summary>
		/// <param name="items">
		/// The GridRangeCollection whose elements are to be added to the end of this GridRangeCollection.
		/// </param>
		public virtual void AddRange(GridRangeCollection items)
		{
			foreach (Range item in items)
			{
				this.List.Add(item);
			}
		}
예제 #2
0
파일: Range.cs 프로젝트: itcthienkhiem/LIS
			public Enumerator(GridRangeCollection collection)
			{
				this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
			}
예제 #3
0
파일: Range.cs 프로젝트: itcthienkhiem/LIS
		/// <summary>
		/// Initializes a new instance of the GridRangeCollection class, containing elements
		/// copied from another instance of GridRangeCollection
		/// </summary>
		/// <param name="items">
		/// The GridRangeCollection whose elements are to be added to the new GridRangeCollection.
		/// </param>
		public GridRangeCollection(GridRangeCollection items)
		{
			this.AddRange(items);
		}