RunicServeOnlyContextMenus class

Namespace Runic.Application.Testing in Runic.Application.Testing 0.23.0

public sealed class RunicServeOnlyContextMenus

Scripts the context menus of a serve-only application (RunicServeOnlyTestPlatform.ContextMenus), with the names of RunicTestContextMenus.

Methods

EnqueueChoice

public void EnqueueChoice(string commandId, string? commandParameter = null)

Queues the item the user chooses in the next context menu.

Parameters

commandId

The item's command id.

commandParameter

The item's command parameter, or null for the first item with the id.

EnqueueDismissed

public void EnqueueDismissed()

Queues a dismissal of the next context menu.