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