ActionSpace
Namespace: E2E.Decision
public sealed class ActionSpaceThe element table and the targets bound to it (upstream’s ActionSpace).
Inheritance: object
Properties
Section titled “Properties”Controls
Section titled “Controls”public required IReadOnlyList<Control> Controls { get; init; }Value: IReadOnlyList<Control>
Destinations
Section titled “Destinations”public required IReadOnlyDictionary<string, Destination> Destinations { get; init; }Where a drag can drop, by element key; empty when nothing can receive a drop.
Value: IReadOnlyDictionary<string, Destination>
Elements
Section titled “Elements”public required IReadOnlyList<Element> Elements { get; init; }Value: IReadOnlyList<Element>
Fingerprint
Section titled “Fingerprint”public string Fingerprint { get; init; }Stable hash of path, tree content with node ids removed, and which nodes are in view.
Value: string
Omitted
Section titled “Omitted”public int Omitted { get; init; }Elements left out to stay under the per-question cap; scrolling can bring them into view.
Value: int
PageText
Section titled “PageText”public string PageText { get; init; }Non-interactive page text from the tree, without node ids, clipped to 6000 chars.
Value: string
Statuses
Section titled “Statuses”public IReadOnlyList<string> Statuses { get; init; }Live regions (status, alert, log) as name: text, the lines a completion check reads first.
Value: IReadOnlyList<string>
public bool TapAt { get; init; }Whether tap_at is offered: a screenshot, the tapAt verb, and a step that locates.
Value: bool
Targets
Section titled “Targets”public required IReadOnlyDictionary<Operation, IReadOnlyDictionary<string, Target>> Targets { get; init; }Per operation: target key to target. Only operations with at least one target appear.
Value: IReadOnlyDictionary<Operation, IReadOnlyDictionary<string, Target>>
TypeAt
Section titled “TypeAt”public bool TypeAt { get; init; }Whether type_at is offered: tap_at is, and the engine types into whatever holds focus.
Value: bool
Methods
Section titled “Methods”ControlNamed(string)
Section titled “ControlNamed(string)”public Control? ControlNamed(string choice)Upstream’s control(choice) (named apart for the same reason as OperationNamed(string)): the control an answer names, typed; null for anything not offered.
Parameters
| Name | Type | Description |
|---|---|---|
choice |
string |
Returns: Control?
Element(string)
Section titled “Element(string)”public Element? Element(string key)Upstream’s element(key): the element behind a target key, for labels and field descriptions.
Parameters
| Name | Type | Description |
|---|---|---|
key |
string |
Returns: Element
OperationNamed(string)
Section titled “OperationNamed(string)”public Operation? OperationNamed(string choice)Upstream’s operation(choice) (named apart here: a member cannot share the name of the Operation type it
returns). The operation an answer names, typed; null for anything not offered.
Parameters
| Name | Type | Description |
|---|---|---|
choice |
string |
Returns: Operation?