/// <summary> /// Adds the elements of a <see cref="ProjectEntryCollection"/> to the end of the collection. /// </summary> /// <param name="items">The <see cref="ProjectEntryCollection"/> to be added to the end of the collection.</param> public void AddRange(ProjectEntryCollection items) { for (int i = 0; (i < items.Count); i = (i + 1)) { Add(items[i]); } }
private SolutionBase(TempFileCollection tfc, SolutionTask solutionTask) { _htOutputFiles = CollectionsUtil.CreateCaseInsensitiveHashtable(); _projectEntries = new ProjectEntryCollection(); _htReferenceProjects = CollectionsUtil.CreateCaseInsensitiveHashtable(); _tfc = tfc; _solutionTask = solutionTask; _outputDir = solutionTask.OutputDir; _webMaps = solutionTask.WebMaps; }
/// <summary> /// Initializes a new instance of the <see cref="ProjectEntryEnumerator"/> class /// with the specified <see cref="ProjectEntryCollection"/>. /// </summary> /// <param name="arguments">The collection that should be enumerated.</param> internal ProjectEntryEnumerator(ProjectEntryCollection arguments) { IEnumerable temp = (IEnumerable) (arguments); _baseEnumerator = temp.GetEnumerator(); }
/// <summary> /// Initializes a new instance of the <see cref="ProjectEntryCollection"/> class /// with the specified <see cref="ProjectEntryCollection"/> instance. /// </summary> public ProjectEntryCollection(ProjectEntryCollection value) { AddRange(value); }
/// <summary> /// Initializes a new instance of the <see cref="ProjectEntryEnumerator"/> class /// with the specified <see cref="ProjectEntryCollection"/>. /// </summary> /// <param name="arguments">The collection that should be enumerated.</param> internal ProjectEntryEnumerator(ProjectEntryCollection arguments) { IEnumerable temp = (IEnumerable)(arguments); _baseEnumerator = temp.GetEnumerator(); }