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