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="SolutionTask" /> class. /// </summary> public SolutionTask() { _customproperties = new ArrayList(); _projects = new FileSet(); _referenceProjects = new FileSet(); _excludeProjects = new FileSet(); _assemblyFolders = new FileSet(); _webMaps = new WebMapCollection(); _projectFactory = ProjectFactory.Create(this); _solutionFactory = SolutionFactory.Create(); _configuration = new Configuration (); }
/// <summary> /// Initializes a new instance of the <see cref="WebMapCollection"/> class /// with the specified <see cref="WebMapCollection"/> instance. /// </summary> public WebMapCollection(WebMapCollection value) { AddRange(value); }
/// <summary> /// Initializes a new instance of the <see cref="WebMapEnumerator"/> class /// with the specified <see cref="WebMapCollection"/>. /// </summary> /// <param name="arguments">The collection that should be enumerated.</param> internal WebMapEnumerator(WebMapCollection arguments) { IEnumerable temp = (IEnumerable)(arguments); _baseEnumerator = temp.GetEnumerator(); }
/// <summary> /// Initializes a new instance of the <see cref="WebMapEnumerator"/> class /// with the specified <see cref="WebMapCollection"/>. /// </summary> /// <param name="arguments">The collection that should be enumerated.</param> internal WebMapEnumerator(WebMapCollection arguments) { IEnumerable temp = (IEnumerable) (arguments); _baseEnumerator = temp.GetEnumerator(); }
/// <summary> /// Adds the elements of a <see cref="WebMapCollection"/> to the end of the collection. /// </summary> /// <param name="items">The <see cref="WebMapCollection"/> to be added to the end of the collection.</param> public void AddRange(WebMapCollection items) { for (int i = 0; (i < items.Count); i = (i + 1)) { Add(items[i]); } }