Exemple #1
0
            /// <summary>
            /// Initializes a new instance of the <see cref="SwitchPageCollection"/> class.
            /// </summary>
            /// <exception cref="ArgumentNullException">
            /// <para>
            ///		<paramref name="switcher"/> is <see langword="null"/>.
            /// </para>
            /// </exception>
            public SwitchPageCollection(NuGenSwitcher switcher)
            {
                if (switcher == null)
                {
                    throw new ArgumentNullException("switcher");
                }

                _list     = new List <NuGenSwitchPage>();
                _switcher = switcher;
            }
			/// <summary>
			/// Initializes a new instance of the <see cref="SwitchPageCollection"/> class.
			/// </summary>
			/// <exception cref="ArgumentNullException">
			/// <para>
			///		<paramref name="switcher"/> is <see langword="null"/>.
			/// </para>
			/// </exception>
			public SwitchPageCollection(NuGenSwitcher switcher)
			{
				if (switcher == null)
				{
					throw new ArgumentNullException("switcher");
				}

				_list = new List<NuGenSwitchPage>();
				_switcher = switcher;
			}