Beispiel #1
0
 /// <nodoc />
 protected IdeProviderBase(ProviderContext providerContext)
 {
     ProviderContext = providerContext;
     JsonRpc         = providerContext.JsonRpc;
     PathTable       = providerContext.PathTable;
     m_incrementalWorkspaceProvider = providerContext.IncrementalWorkspaceProvider;
     m_incrementalWorkspaceProvider.WorkspaceRecomputed += OnWorkspaceRecomputed;
     ChangedTextDocumentItems = new TextDocumentItem[0];
 }
Beispiel #2
0
 /// <nodoc/>
 public ProviderContext(
     [NotNull] StreamJsonRpc.JsonRpc jsonRpc,
     [NotNull] IncrementalWorkspaceProvider incrementalWorkspaceProvider,
     [NotNull] PathTable pathTable,
     [NotNull] Logger logger,
     [NotNull] LoggingContext loggingContext,
     [NotNull] GetAppState getAppState,
     TestContext?testContext = null)
 {
     JsonRpc = jsonRpc;
     IncrementalWorkspaceProvider = incrementalWorkspaceProvider;
     PathTable      = pathTable;
     TestContext    = testContext;
     Logger         = logger;
     LoggingContext = loggingContext;
     GetAppState    = getAppState;
 }