public sealed record RunicContextMenuCall : IEquatable<RunicContextMenuCall> One context menu the application showed and the item chosen.
Parameters
ItemsThe menu's entries.
OptionsWhere it opened, or
nullat the pointer.OutcomeHow it ended.
ChosenThe chosen item, or
null.ScriptedWhether a scripted choice ended it;
falsewhen the queue was empty.
Constructors
RunicContextMenuCall
public RunicContextMenuCall(ImmutableArray<DesktopMenuEntry> Items, DesktopContextMenuOptions? Options, RunicTestOutcome Outcome, DesktopMenuItem? Chosen, bool Scripted) One context menu the application showed and the item chosen.
Parameters
ItemsThe menu's entries.
OptionsWhere it opened, or
nullat the pointer.OutcomeHow it ended.
ChosenThe chosen item, or
null.ScriptedWhether a scripted choice ended it;
falsewhen the queue was empty.
Properties
Options
public DesktopContextMenuOptions? Options { get; init; } Where it opened, or null at the pointer.
Scripted
public bool Scripted { get; init; } Whether a scripted choice ended it; false when the queue was empty.