Table of Contents

Interface IRDCoreServerProxyFactory

Namespace
RDCore.SDK.Platform
Assembly
RDCore.SDK.dll

An abstract factory that creates clients for platform components.

public interface IRDCoreServerProxyFactory

Methods

Create(CoreServerComponent, CorePlatformClientCapabilities, Action<IRDCoreLSPHandlerConfigurationBuilder>?, Action<IServiceCollection>?, ExtensionInfo?)

Creates a client proxy for a platform component.

RDCoreServerProxy Create(CoreServerComponent platformComponent, CorePlatformClientCapabilities capabilities, Action<IRDCoreLSPHandlerConfigurationBuilder>? configureHandlers = null, Action<IServiceCollection>? configureServices = null, ExtensionInfo? extensionInfo = null)

Parameters

platformComponent CoreServerComponent

The component the proxy launches and connects to.

capabilities CorePlatformClientCapabilities

The platform capabilities the proxy expects the child to provide.

configureHandlers Action<IRDCoreLSPHandlerConfigurationBuilder>

App-specific LSP handler configuration for the proxy's client.

configureServices Action<IServiceCollection>

App-specific service registrations for the proxy's client.

extensionInfo ExtensionInfo

The extension manifest when platformComponent is Extension; supplies the folder and executable name the proxy resolves the child from.

Returns

RDCoreServerProxy