public void AddRange(RegexItemCollection items) { for (int i = 0; i < items.Count; i++) { this.Add(items[i]); } }
public RegexItemCollection(RegexItemCollection value) { this.AddRange(value); }
internal RegexItemEnumerator(RegexItemCollection arguments) { IEnumerable enumerable = arguments; _baseEnumerator = enumerable.GetEnumerator(); }
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); } } }
public BabelTask() { _bag = new Hashtable(); _takeFiles = new RegexItemCollection(); _skipFiles = new RegexItemCollection(); _noWarnings = new RegexItemCollection(); }