/// <summary>
 /// Initializes a new instance of the <see cref="ModuleThresholdEnumerator"/> class
 /// with the specified <see cref="ModuleThresholdCollection"/>.
 /// </summary>
 /// <param name="arguments">The collection that should be enumerated.</param>
 internal ModuleThresholdEnumerator(ModuleThresholdCollection 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;
        }
Exemple #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ModuleThresholdEnumerator"/> class
        /// with the specified <see cref="ModuleThresholdCollection"/>.
        /// </summary>
        /// <param name="arguments">The collection that should be enumerated.</param>
        internal ModuleThresholdEnumerator(ModuleThresholdCollection arguments)
        {
            IEnumerable temp = arguments;

            _baseEnumerator = temp.GetEnumerator();
        }