Пример #1
0
 /// <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]);
     }
 }
Пример #2
0
 /// <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);
 }
Пример #3
0
 /// <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();
 }
Пример #4
0
 /// <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);
 }
Пример #5
0
 /// <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();
 }
Пример #6
0
 /// <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]);
     }
 }