Skip to content

ActionSpace

Namespace: E2E.Decision

public sealed class ActionSpace

The element table and the targets bound to it (upstream’s ActionSpace).

Inheritance: object

View source

public required IReadOnlyList<Control> Controls { get; init; }

Value: IReadOnlyList<Control>

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>

public required IReadOnlyList<Element> Elements { get; init; }

Value: IReadOnlyList<Element>

public string Fingerprint { get; init; }

Stable hash of path, tree content with node ids removed, and which nodes are in view.

Value: string

public int Omitted { get; init; }

Elements left out to stay under the per-question cap; scrolling can bring them into view.

Value: int

public string PageText { get; init; }

Non-interactive page text from the tree, without node ids, clipped to 6000 chars.

Value: string

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

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>>

public bool TypeAt { get; init; }

Whether type_at is offered: tap_at is, and the engine types into whatever holds focus.

Value: bool

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?

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

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?