public LanguageClientRegistrationManager( ISerializer serializer, ILspHandlerTypeDescriptorProvider handlerTypeDescriptorProvider, ILogger <LanguageClientRegistrationManager> logger) { _serializer = serializer; _handlerTypeDescriptorProvider = handlerTypeDescriptorProvider; _logger = logger; _registrations = new ConcurrentDictionary <string, Registration>(StringComparer.OrdinalIgnoreCase); _registrationSubject = new ReplaySubject <IEnumerable <Registration> >(1); }
public SharedHandlerCollection( ISupportedCapabilities supportedCapabilities, TextDocumentIdentifiers textDocumentIdentifiers, IResolverContext resolverContext, ILspHandlerTypeDescriptorProvider handlerTypeDescriptorProvider) { _supportedCapabilities = supportedCapabilities; _textDocumentIdentifiers = textDocumentIdentifiers; _resolverContext = resolverContext; _handlerTypeDescriptorProvider = handlerTypeDescriptorProvider; }
public LspServerReceiver(ILspHandlerTypeDescriptorProvider handlerTypeDescriptorProvider) { _handlerTypeDescriptorProvider = handlerTypeDescriptorProvider; }
public LspClientReceiver(ILspHandlerTypeDescriptorProvider handlerTypeDescriptorProvider) { _handlerTypeDescriptorProvider = handlerTypeDescriptorProvider; }