internal static CSharpClassifierService GetClassifier( IReadOnlyDictionary <string, ClassificationInfo> classifications, IClassificationChangingService analyzingService) { if (_instance is null) { _instance = new CSharpClassifierService(classifications, analyzingService); } return(_instance); }
internal VisualBasicTextBufferClassifier( Dictionary <string, ClassificationInfo> classifications, IClassificationChangingService classificationChangingService, bool isEnable, IEditorChangingService editorChangingService, ITextDocumentFactoryService textDocumentFactoryService, ITextBuffer buffer) : base(isEnable, editorChangingService, textDocumentFactoryService, buffer) { _service = VisualBasicClassifierService.GetClassifier(classifications, classificationChangingService); }
private CSharpClassifierService( IReadOnlyDictionary <string, ClassificationInfo> classifications, IClassificationChangingService analyzingService) { InitializeClassifications(classifications); analyzingService.ClassificationChanged += OnClassificationsChanged; }