예제 #1
0
 public CodeCoverageProcessor(DbTraceCodeFormatter dbCodeFormatter, HighlightCodeProvider highlightCodeProvider)
 {
     _dbCodeFormatter       = dbCodeFormatter;
     _highlightCodeProvider = highlightCodeProvider;
     _dataScrubber          = new DataScrubber(dbCodeFormatter);
     _highlightMarkUpLength = _dbCodeFormatter.StartHighlightMarkUp.Length + _dbCodeFormatter.EndHighlightMarkUp.Length;
 }
예제 #2
0
 public GenerateOutputCommand(DbProvider dbProvider, DbTraceCodeFormatter dbCodeFormatter,
                              HighlightCodeProvider codeHighlighter, OutputProvider outputProvider, string traceName)
 {
     _dbProvider      = dbProvider;
     _dbCodeFormatter = dbCodeFormatter;
     _codeHighlighter = codeHighlighter;
     _outputProvider  = outputProvider;
     _traceName       = traceName;
 }