Table of Contents

Class RDCoreLanguageServerHost<TApp>

Namespace
RDCore.SDK.Server
Assembly
RDCore.SDK.dll

Simplifies implementing a RDCore LSP server application.

public class RDCoreLanguageServerHost<TApp> : AppHost<TApp>, IDisposable where TApp : class, IRDCoreServerApp

Type Parameters

TApp
Inheritance
AppHost<TApp>
RDCoreLanguageServerHost<TApp>
Implements
Inherited Members

Remarks

🧩 Override templated methods to customize your application.

Constructors

RDCoreLanguageServerHost()

Simplifies implementing a RDCore LSP server application.

public RDCoreLanguageServerHost()

Remarks

🧩 Override templated methods to customize your application.

Properties

ExitCode

Gets the application exit code corresponding to the current ServerState.

public override int ExitCode { get; }

Property Value

int

ServerStateProvider

Gets a service that manages the operational state of the language server.

protected IServerStateProvider ServerStateProvider { get; }

Property Value

IServerStateProvider

Methods

ConfigureAdditionalExternalServices(IServiceCollection, IConfiguration)

Configures any additional services that must be injected in the application constructor.
🧩 The base implementation does nothing.

protected override void ConfigureAdditionalExternalServices(IServiceCollection services, IConfiguration configuration)

Parameters

services IServiceCollection

The service provider of the application host being configured.

configuration IConfiguration

The current application configuration.

Remarks

👉 The purpose of external services is to bootstrap the application and support functionality at the entry point level by registering the services that must be injected in the IRDCoreApp application.