Beispiel #1
0
 public DefaultLanguageServerFacade(
     IResponseRouter requestRouter,
     IResolverContext resolverContext,
     IProgressManager progressManager,
     ILanguageProtocolSettings languageProtocolSettings,
     Lazy <ITextDocumentLanguageServer> textDocument,
     Lazy <IClientLanguageServer> client,
     Lazy <IGeneralLanguageServer> general,
     Lazy <IWindowLanguageServer> window,
     Lazy <IWorkspaceLanguageServer> workspace,
     Lazy <IHandlersManager> handlersManager,
     Lazy <IServerWorkDoneManager> workDoneManager,
     Lazy <ISupportedCapabilities> supportedCapabilities,
     TextDocumentIdentifiers textDocumentIdentifiers,
     IInsanceHasStarted instancesHasStarted
     ) : base(requestRouter, resolverContext, progressManager, languageProtocolSettings)
 {
     _textDocument            = textDocument;
     _client                  = client;
     _general                 = general;
     _window                  = window;
     _workspace               = workspace;
     _handlersManager         = handlersManager;
     _workDoneManager         = workDoneManager;
     _supportedCapabilities   = supportedCapabilities;
     _textDocumentIdentifiers = textDocumentIdentifiers;
     _instancesHasStarted     = instancesHasStarted;
     _hasStarted              = new AsyncSubject <System.Reactive.Unit>();
 }
Beispiel #2
0
 public DefaultLanguageClientFacade(
     IResponseRouter requestRouter,
     IResolverContext resolverContext,
     IProgressManager progressManager,
     ILanguageProtocolSettings languageProtocolSettings,
     Lazy <ITextDocumentLanguageClient> textDocument,
     Lazy <IClientLanguageClient> client,
     Lazy <IGeneralLanguageClient> general,
     Lazy <IWindowLanguageClient> window,
     Lazy <IWorkspaceLanguageClient> workspace,
     Lazy <IHandlersManager> handlersManager,
     TextDocumentIdentifiers textDocumentIdentifiers,
     IInsanceHasStarted instanceHasStarted
     ) : base(requestRouter, resolverContext, progressManager, languageProtocolSettings)
 {
     _textDocument            = textDocument;
     _client                  = client;
     _general                 = general;
     _window                  = window;
     _workspace               = workspace;
     _handlersManager         = handlersManager;
     _textDocumentIdentifiers = textDocumentIdentifiers;
     _instanceHasStarted      = instanceHasStarted;
 }