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