Пример #1
0
 public AnalyzerFormatter(
     string name,
     IAnalyzerInformationProvider informationProvider,
     IAnalyzerRunner runner,
     ICodeFixApplier applier)
 {
     _name = name;
     _informationProvider = informationProvider;
     _runner  = runner;
     _applier = applier;
 }
Пример #2
0
 public AnalyzerFormatter(
     string name,
     FixCategory category,
     bool includeCompilerDiagnostics,
     IAnalyzerInformationProvider informationProvider,
     IAnalyzerRunner runner,
     ICodeFixApplier applier)
 {
     _name    = name;
     Category = category;
     _includeCompilerDiagnostics = includeCompilerDiagnostics;
     _informationProvider        = informationProvider;
     _runner  = runner;
     _applier = applier;
 }