Exemplo n.º 1
0
 /// <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();
 }
Exemplo n.º 2
0
 /// <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]);
     }
 }
Exemplo n.º 3
0
 /// <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();
 }
Exemplo n.º 4
0
 /// <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]);
     }
 }
Exemplo n.º 5
0
 /// <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();
 }
Exemplo n.º 6
0
        /// <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();
        }
Exemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FilterSet"/> class.
 /// </summary>
 public FilterSet()
 {
     Exclude = new PatternCollection();
 }
Exemplo n.º 8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IncludeSet"/> class.
 /// </summary>
 public IncludeSet()
 {
     Include = new PatternCollection();
 }