コード例 #1
0
 /// <summary>
 ///   Adds the contents of another <see cref='QualifiedNameCollection'/> to the end of the collection.
 /// </summary>
 /// <param name='val'>
 ///    A <see cref='QualifiedNameCollection'/> containing the objects to add to the collection.
 /// </param>
 /// <seealso cref='QualifiedNameCollection.Add'/>
 public void AddRange(QualifiedNameCollection val)
 {
     for (int i = 0; i < val.Count; i++)
     {
         this.Add(val[i]);
     }
 }
コード例 #2
0
 /// <summary>
 ///   Initializes a new instance of <see cref='QualifiedNameCollection'/> based on another <see cref='QualifiedNameCollection'/>.
 /// </summary>
 /// <param name='val'>
 ///   A <see cref='QualifiedNameCollection'/> from which the contents are copied
 /// </param>
 public QualifiedNameCollection(QualifiedNameCollection val)
 {
     this.AddRange(val);
 }
コード例 #3
0
 /// <summary>
 ///   Initializes a new instance of <see cref='QualifiedNameEnumerator'/>.
 /// </summary>
 public QualifiedNameEnumerator(QualifiedNameCollection mappings)
 {
     this.temp           = ((IEnumerable)(mappings));
     this.baseEnumerator = temp.GetEnumerator();
 }
コード例 #4
0
		/// <summary>
		///   Initializes a new instance of <see cref='QualifiedNameCollection'/> based on another <see cref='QualifiedNameCollection'/>.
		/// </summary>
		/// <param name='val'>
		///   A <see cref='QualifiedNameCollection'/> from which the contents are copied
		/// </param>
		public QualifiedNameCollection(QualifiedNameCollection val)
		{
			this.AddRange(val);
		}
コード例 #5
0
			/// <summary>
			///   Initializes a new instance of <see cref='QualifiedNameEnumerator'/>.
			/// </summary>
			public QualifiedNameEnumerator(QualifiedNameCollection mappings)
			{
				this.temp = ((IEnumerable)(mappings));
				this.baseEnumerator = temp.GetEnumerator();
			}
コード例 #6
0
		/// <summary>
		///   Adds the contents of another <see cref='QualifiedNameCollection'/> to the end of the collection.
		/// </summary>
		/// <param name='val'>
		///    A <see cref='QualifiedNameCollection'/> containing the objects to add to the collection.
		/// </param>
		/// <seealso cref='QualifiedNameCollection.Add'/>
		public void AddRange(QualifiedNameCollection val)
		{
			for (int i = 0; i < val.Count; i++)
			{
				this.Add(val[i]);
			}
		}