コード例 #1
0
 /// <summary>
 /// Adds the elements of a <see cref="XmlSchemaReferenceCollection"/> to the end of the collection.
 /// </summary>
 /// <param name="items">The <see cref="XmlSchemaReferenceCollection"/> to be added to the end of the collection.</param>
 public void AddRange(XmlSchemaReferenceCollection items)
 {
     for (int i = 0; (i < items.Count); i = (i + 1))
     {
         Add(items[i]);
     }
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XmlSchemaReferenceCollection"/> class
 /// with the specified <see cref="XmlSchemaReferenceCollection"/> instance.
 /// </summary>
 public XmlSchemaReferenceCollection(XmlSchemaReferenceCollection value) {
     AddRange(value);
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XmlSchemaReferenceEnumerator"/> class
 /// with the specified <see cref="XmlSchemaReferenceCollection"/>.
 /// </summary>
 /// <param name="arguments">The collection that should be enumerated.</param>
 internal XmlSchemaReferenceEnumerator(XmlSchemaReferenceCollection arguments) {
     IEnumerable temp = (IEnumerable) (arguments);
     _baseEnumerator = temp.GetEnumerator();
 }
コード例 #4
0
 /// <summary>
 /// Adds the elements of a <see cref="XmlSchemaReferenceCollection"/> to the end of the collection.
 /// </summary>
 /// <param name="items">The <see cref="XmlSchemaReferenceCollection"/> to be added to the end of the collection.</param> 
 public void AddRange(XmlSchemaReferenceCollection items) {
     for (int i = 0; (i < items.Count); i = (i + 1)) {
         Add(items[i]);
     }
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XmlSchemaReferenceCollection"/> class
 /// with the specified <see cref="XmlSchemaReferenceCollection"/> instance.
 /// </summary>
 public XmlSchemaReferenceCollection(XmlSchemaReferenceCollection value)
 {
     AddRange(value);
 }
コード例 #6
0
        /// <summary>
        /// Initializes a new instance of the <see cref="XmlSchemaReferenceEnumerator"/> class
        /// with the specified <see cref="XmlSchemaReferenceCollection"/>.
        /// </summary>
        /// <param name="arguments">The collection that should be enumerated.</param>
        internal XmlSchemaReferenceEnumerator(XmlSchemaReferenceCollection arguments)
        {
            IEnumerable temp = (IEnumerable)(arguments);

            _baseEnumerator = temp.GetEnumerator();
        }