Exemplo n.º 1
0
 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;
 }
Exemplo n.º 3
0
 public AnalyzersCommandHandler(
     AnalyzerItemsTracker tracker,
     AnalyzerReferenceManager analyzerReferenceManager,
     [Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider,
     ICodeActionEditHandlerService editHandlerService)
 {
     _tracker = tracker;
     _analyzerReferenceManager = analyzerReferenceManager;
     _serviceProvider          = serviceProvider;
     _editHandlerService       = editHandlerService;
 }
Exemplo n.º 4
0
 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);
 }