Example #1
0
 public RoslynSyntaxClassificationService(AbstractLspClientServiceFactory roslynLspClientServiceFactory, RemoteLanguageServiceWorkspace remoteLanguageServiceWorkspace, ISyntaxClassificationService originalService,
                                          ClassificationTypeMap classificationTypeMap, IThreadingContext threadingContext)
 {
     _roslynLspClientServiceFactory  = roslynLspClientServiceFactory;
     _remoteLanguageServiceWorkspace = remoteLanguageServiceWorkspace;
     _originalService       = originalService;
     _classificationTypeMap = classificationTypeMap;
     _threadingContext      = threadingContext;
 }
Example #2
0
 public RoslynClassificationService(AbstractLspClientServiceFactory roslynLspClientServiceFactory, ISyntaxClassificationService originalService,
                                    ClassificationTypeMap classificationTypeMap, IThreadingContext threadingContext)
 {
     _roslynLspClientServiceFactory = roslynLspClientServiceFactory ?? throw new ArgumentNullException(nameof(roslynLspClientServiceFactory));
     _originalService       = originalService ?? throw new ArgumentNullException(nameof(originalService));
     _classificationTypeMap = classificationTypeMap ?? throw new ArgumentNullException(nameof(classificationTypeMap));
     _threadingContext      = threadingContext;
 }