/// <summary> /// Adds the elements of a <see cref="CoverageExclusionCollection"/> to the end of the collection. /// </summary> /// <param name="items">The <see cref="CoverageExclusionCollection"/> to be added to the end of the collection.</param> public void AddRange(CoverageExclusionCollection items) { for (int i = 0; (i < items.Count); i = (i + 1)) { Add(items[i]); } }
/// <summary> /// Initializes a new instance of the <see cref="CoverageExclusionCollection"/> class /// with the specified <see cref="CoverageExclusionCollection"/> instance. /// </summary> public CoverageExclusionCollection(CoverageExclusionCollection value) { AddRange(value); }
/// <summary> /// Initializes a new instance of the <see cref="CoverageExclusionEnumerator"/> class /// with the specified <see cref="CoverageExclusionCollection"/>. /// </summary> /// <param name="arguments">The collection that should be enumerated.</param> internal CoverageExclusionEnumerator(CoverageExclusionCollection arguments) { IEnumerable temp = arguments; _baseEnumerator = temp.GetEnumerator(); }
/// <summary> /// Initializes a new instance of the <see cref="NCoverExplorerTask"/> class. /// </summary> public NCoverExplorerTask() { _coverageFiles = new FileSet(); _configName = string.Empty; _satisfactoryCoverage = 100; _minimumCoverage = 100; _reportType = CoverageReportType.ModuleSummary; _treeSortStyle = TreeSortStyle.Name; _treeFilterStyle = TreeFilterStyle.None; _programArguments = new StringBuilder(); _coverageExclusions = new CoverageExclusionCollection(); _moduleThresholds = new ModuleThresholdCollection(); ExeName = DefaultApplicationName; }