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