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