Table of Contents

Class HostDiscardParams

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

Request for rdcore/host/discard: the language-server side of SessionDiscardParams, addressed to the component that owns the session.

[Method("rdcore/host/discard", Direction.ClientToServer)]
public record HostDiscardParams : IRequest, IRequest<Unit>, IRequest<DiscardResult>, IBaseRequest, IEquatable<HostDiscardParams>
Inheritance
HostDiscardParams
Implements
IRequest
IRequest<Unit>
IRequest<DiscardResult>
IBaseRequest
Inherited Members

Remarks

Part of the component protocol (RDCoreComponentProtocol), outside the SDK's compatibility promise.

Properties

EndProgram

Whether the program that is running or waits is ended, and the session wiped, before the module goes. See EndProgram.

public bool EndProgram { get; init; }

Property Value

bool

ModuleName

The programmatic name of the module.

public string ModuleName { get; init; }

Property Value

string

ModuleUri

The address of the module symbol: the one the language server defined the module under, which it derives once and for every request about a module. A module that is not the project's - a document the client opened - has no symbol of its own to find by name, and still has what it declared.

public Uri ModuleUri { get; init; }

Property Value

Uri