/// <summary> /// Adds the contents of another <see cref='XmlCompletionDataCollection'/> to the end of the collection. /// </summary> /// <param name='val'> /// A <see cref='XmlCompletionDataCollection'/> containing the objects to add to the collection. /// </param> /// <seealso cref='XmlCompletionDataCollection.Add'/> public void AddRange(XmlCompletionDataCollection val) { for (int i = 0; i < val.Count; i++) { this.Add(val[i]); } }
/// <summary> /// Initializes a new instance of <see cref='XmlCompletionDataCollection'/> based on another <see cref='XmlCompletionDataCollection'/>. /// </summary> /// <param name='val'> /// A <see cref='XmlCompletionDataCollection'/> from which the contents are copied /// </param> public XmlCompletionDataCollection(XmlCompletionDataCollection val) { this.AddRange(val); }
/// <summary> /// Initializes a new instance of <see cref='XmlCompletionDataEnumerator'/>. /// </summary> public XmlCompletionDataEnumerator(XmlCompletionDataCollection mappings) { this.temp = ((IEnumerable)(mappings)); this.baseEnumerator = temp.GetEnumerator(); }