public AnalyzersCommandHandler(
     AnalyzerItemsTracker tracker,
     AnalyzerReferenceManager analyzerReferenceManager,
     [Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider)
 {
     _tracker = tracker;
     _analyzerReferenceManager = analyzerReferenceManager;
     _serviceProvider          = serviceProvider;
 }
 public AnalyzersCommandHandler(
     AnalyzerItemsTracker tracker,
     AnalyzerReferenceManager analyzerReferenceManager,
     [Import(typeof(SVsServiceProvider))]IServiceProvider serviceProvider)
 {
     _tracker = tracker;
     _analyzerReferenceManager = analyzerReferenceManager;
     _serviceProvider = serviceProvider;
 }
Beispiel #3
0
 public AnalyzersCommandHandler(
     AnalyzerItemsTracker tracker,
     AnalyzerReferenceManager analyzerReferenceManager,
     [Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider,
     ICodeActionEditHandlerService editHandlerService)
 {
     _tracker = tracker;
     _analyzerReferenceManager = analyzerReferenceManager;
     _serviceProvider          = serviceProvider;
     _editHandlerService       = editHandlerService;
 }
 public AnalyzersCommandHandler(
     AnalyzerItemsTracker tracker,
     AnalyzerReferenceManager analyzerReferenceManager,
     IThreadingContext threadingContext,
     IAsynchronousOperationListenerProvider listenerProvider,
     [Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider)
 {
     _tracker = tracker;
     _analyzerReferenceManager = analyzerReferenceManager;
     _threadingContext         = threadingContext;
     _serviceProvider          = serviceProvider;
     _listener = listenerProvider.GetListener(FeatureAttribute.RuleSetEditor);
 }