コード例 #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);
		}