public SyntaxConstructClassifierProvider([Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider, ClassificationColorManager classificationColorManager) { this.serviceProvider = serviceProvider; this.classificationColorManager = classificationColorManager; // Receive notification for Visual Studio theme change shellEventListener = new ShellEventListener(this.serviceProvider); shellEventListener.Initialize(); shellEventListener.OnThemeChanged += UpdateTheme; }
public DepthColorizerAdornmentManager( [Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider, ShellEventListener shellEventListener, ThemeManager themeManager, IViewTagAggregatorFactoryService viewTagAggregatorFactoryService) { _serviceProvider = serviceProvider; _themeManager = themeManager; _viewTagAggregatorFactoryService = viewTagAggregatorFactoryService; _shellEventListener = shellEventListener; }
public SyntaxConstructClassifierProvider( [Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider, ShellEventListener shellEventListener, ClassificationColorManager classificationColorManager, IClassificationTypeRegistryService classificationRegistry, ITextDocumentFactoryService textDocumentFactoryService, VSLanguageService fsharpVsLanguageService, ProjectFactory projectFactory) { _serviceProvider = serviceProvider; _classificationColorManager = classificationColorManager; _classificationRegistry = classificationRegistry; _textDocumentFactoryService = textDocumentFactoryService; _shellEventListener = shellEventListener; _fsharpVsLanguageService = fsharpVsLanguageService; _projectFactory = projectFactory; // Receive notification for Visual Studio theme change _shellEventListener.ThemeChanged += UpdateTheme; }
public SyntaxConstructClassifierProvider(ShellEventListener shellEventListener) { this.shellEventListener = shellEventListener; // Receive notification for Visual Studio theme change shellEventListener.ThemeChanged += UpdateTheme; }