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