public CodeCoverageProcessor(DbTraceCodeFormatter dbCodeFormatter, HighlightCodeProvider highlightCodeProvider) { _dbCodeFormatter = dbCodeFormatter; _highlightCodeProvider = highlightCodeProvider; _dataScrubber = new DataScrubber(dbCodeFormatter); _highlightMarkUpLength = _dbCodeFormatter.StartHighlightMarkUp.Length + _dbCodeFormatter.EndHighlightMarkUp.Length; }
public GenerateOutputCommand(DbProvider dbProvider, DbTraceCodeFormatter dbCodeFormatter, HighlightCodeProvider codeHighlighter, OutputProvider outputProvider, string traceName) { _dbProvider = dbProvider; _dbCodeFormatter = dbCodeFormatter; _codeHighlighter = codeHighlighter; _outputProvider = outputProvider; _traceName = traceName; }
public DataScrubber(DbTraceCodeFormatter traceCodeFormatter, string scrubFile) { _traceCodeFormatter = traceCodeFormatter; _scrubFile = scrubFile; // Create a dictionary to hold the different scrub files, and so we only read each file once to reduce disk IO. if (_scrubFiles == null) _scrubFiles = new Dictionary<string, string[]>(); if (!_scrubFiles.ContainsKey(scrubFile)) _scrubFiles.Add(scrubFile, System.IO.File.ReadAllLines(scrubFile)); }
public DataScrubber(DbTraceCodeFormatter traceCodeFormatter, string scrubFile) { _traceCodeFormatter = traceCodeFormatter; _scrubFile = scrubFile; // Create a dictionary to hold the different scrub files, and so we only read each file once to reduce disk IO. if (_scrubFiles == null) { _scrubFiles = new Dictionary <string, string[]>(); } if (!_scrubFiles.ContainsKey(scrubFile)) { _scrubFiles.Add(scrubFile, System.IO.File.ReadAllLines(scrubFile)); } }
public DataScrubber(DbTraceCodeFormatter traceCodeFormatter) { _traceCodeFormatter = traceCodeFormatter; }