예제 #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
 public XmlElementPath(QualifiedName[] values)
 {
     elements = new QualifiedNameCollection(values);
 }
예제 #4
0
 /// <summary>
 ///   Initializes a new instance of <see cref='QualifiedNameEnumerator'/>.
 /// </summary>
 public QualifiedNameEnumerator(QualifiedNameCollection mappings)
 {
     this.temp           = ((IEnumerable)(mappings));
     this.baseEnumerator = temp.GetEnumerator();
 }
예제 #5
0
 public XmlElementPath()
 {
     elements = new QualifiedNameCollection();
 }