Ejemplo n.º 1
0
        /*
         * AddRange
         */

        /// <summary>
        /// </summary>
        /// <param name="items"></param>
        /// <exception cref="ArgumentNullException">
        /// <para><paramref name="items"/> is <see langword="null"/>.</para>
        /// </exception>
        public void AddRange(NuGenNavigationButtonCollection items)
        {
            if (items == null)
            {
                throw new ArgumentNullException("items");
            }

            foreach (NuGenNavigationButton button in items)
            {
                this.Add(button);
            }
        }
		/*
		 * AddRange
		 */

		/// <summary>
		/// </summary>
		/// <param name="items"></param>
		/// <exception cref="ArgumentNullException">
		/// <para><paramref name="items"/> is <see langword="null"/>.</para>
		/// </exception>
		public void AddRange(NuGenNavigationButtonCollection items)
		{
			if (items == null)
			{
				throw new ArgumentNullException("items");
			}

			foreach (NuGenNavigationButton button in items)
			{
				this.Add(button);
			}
		}