Class HostProjectReloadParams
Request for rdcore/host/project/reload: the language server asks the component that owns the runtime session to compose it again from the project
file as it is now (ProjectReload).
[Method("rdcore/host/project/reload", Direction.ClientToServer)]
public record HostProjectReloadParams : IRequest, IRequest<Unit>, IRequest<HostProjectReloadResult>, IBaseRequest, IEquatable<HostProjectReloadParams>
- Inheritance
-
HostProjectReloadParams
- Implements
-
IRequestIRequest<Unit>IRequest<HostProjectReloadResult>IBaseRequest
- Inherited Members
Remarks
What a client that rewrote the .rdproj is given: the modules it lists now, a class among them, are the session's, as they are when the session is
composed at start-up. The session is composed anew, empty of what was defined in it: the language server defines the whole workspace again afterwards,
in its three phases.
A program that is running or waits keeps the session it runs in, and nothing is composed (IsProgramRunning).
Properties
WorkspaceRoot
The root of the workspace: the folder the project file is in.
public Uri WorkspaceRoot { get; init; }