예제 #1
0
		public void AddRange(RegexItemCollection items)
		{
			for (int i = 0; i < items.Count; i++)
			{
				this.Add(items[i]);
			}
		}
예제 #2
0
 public void AddRange(RegexItemCollection items)
 {
     for (int i = 0; i < items.Count; i++)
     {
         this.Add(items[i]);
     }
 }
예제 #3
0
		public RegexItemCollection(RegexItemCollection value)
		{
			this.AddRange(value);
		}
예제 #4
0
		internal RegexItemEnumerator(RegexItemCollection arguments)
		{
			IEnumerable enumerable = arguments;
			_baseEnumerator = enumerable.GetEnumerator();
		}
예제 #5
0
 public RegexItemCollection(RegexItemCollection value)
 {
     this.AddRange(value);
 }
예제 #6
0
        internal RegexItemEnumerator(RegexItemCollection arguments)
        {
            IEnumerable enumerable = arguments;

            _baseEnumerator = enumerable.GetEnumerator();
        }
예제 #7
0
		private void AppendSwitchCollection(StringWriter writer, string name, RegexItemCollection collection)
		{
			if (collection != null)
			{
				RegexItemEnumerator enumerator = collection.GetEnumerator();
				while (enumerator.MoveNext())
				{
					RegexItem item = enumerator.Current;
					AppendSwitchIfNotNull(writer, name, item.Value);
				}
			}			
		}
예제 #8
0
		public BabelTask()
		{
			_bag = new Hashtable();
			_takeFiles = new RegexItemCollection();
			_skipFiles = new RegexItemCollection();
			_noWarnings = new RegexItemCollection();
		}