Table of Contents

Class MessageBoxParams

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

What a program shows in a MsgBox, as it travels to whoever shows it.

public abstract record MessageBoxParams : IEquatable<MessageBoxParams>
Inheritance
MessageBoxParams
Implements
Derived
Inherited Members

Remarks

A program runs in the environment host, and the person it asks is at a client: the request goes from the host to the language server (rdcore/host/interaction/msgBox) and from the language server to the client (SessionMessageBoxParams), and the answer comes back the same way. The program waits for it, as it waits for a dialog.

Properties

Output

The lines the program printed before it opened the dialog that have not been said yet, in order: shown before the dialog, and not again with the answer to the request that runs the program.

public IReadOnlyList<string> Output { get; init; }

Property Value

IReadOnlyList<string>

Prompt

The message.

public string Prompt { get; init; }

Property Value

string

Style

The VbMsgBoxStyle the program asked for: the buttons, the icon, the default button and the modality, summed.

public int Style { get; init; }

Property Value

int

Title

The title of the dialog.

public string Title { get; init; }

Property Value

string