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