Table of Contents

Class Unattended

Namespace
RDCore.SDK.Client
Assembly
RDCore.SDK.Protocol.dll

Advertises that nobody is there to answer the dialogs a program opens: a client that expects it runs programs unattended (a CI run, rdc --unattended), and the language server runs each program it asks for so that a dialog - MsgBox, InputBox, a form shown, modal or not - fails the run with the untrappable run-time error VBR50001, which no On Error of the program catches.

public record Unattended : CorePlatformClientCapability, IEquatable<CorePlatformClientCapability>, IEquatable<Unattended>
Inheritance
Unattended
Implements
Inherited Members

Remarks

The dialogs are the standard library's, which every program has: a client opts out of answering them, rather than into it. A client that expects both this and SessionInteraction runs unattended: a run that fails loudly is the safe reading of a contradiction. A test framework that mocks the dialogs intercepts them before they open, so a run that reaches one has a dialog nothing intercepted.

Constructors

Unattended(bool)

Advertises that nobody is there to answer the dialogs a program opens: a client that expects it runs programs unattended (a CI run, rdc --unattended), and the language server runs each program it asks for so that a dialog - MsgBox, InputBox, a form shown, modal or not - fails the run with the untrappable run-time error VBR50001, which no On Error of the program catches.

public Unattended(bool IsSupported = false)

Parameters

IsSupported bool

Remarks

The dialogs are the standard library's, which every program has: a client opts out of answering them, rather than into it. A client that expects both this and SessionInteraction runs unattended: a run that fails loudly is the safe reading of a contradiction. A test framework that mocks the dialogs intercepts them before they open, so a run that reaches one has a dialog nothing intercepted.