Class HostEntryPointsParams
- Namespace
- RDCore.SDK.Platform.Components
- Assembly
- RDCore.SDK.dll
Request for rdcore/host/entryPoints: the language server asks the environment host which of a program's modules declare a procedure it can start
with (ProgramEntryPoint).
[Method("rdcore/host/entryPoints", Direction.ClientToServer)]
public record HostEntryPointsParams : IRequest, IRequest<Unit>, IRequest<HostEntryPointsResult>, IBaseRequest, IEquatable<HostEntryPointsParams>
- Inheritance
-
HostEntryPointsParams
- Implements
-
IRequestIRequest<Unit>IRequest<HostEntryPointsResult>IBaseRequest
- Inherited Members
Remarks
The host answers from what its runtime session defined, which is what a run runs: a declaration is the one the live branch of its #If block writes,
under the project's constants, which only the host evaluates. A module the session does not have declares none.
Part of the component protocol (RDCoreComponentProtocol), outside the SDK's compatibility promise.
Properties
EntryPoint
The name of the procedure the program starts with.
public string EntryPoint { get; init; }
Property Value
Modules
The modules of the program, by programmatic name: the ones the answer is of.
public string[] Modules { get; init; }
Property Value
- string[]