Synced
EditorMenuContext.Constructor
Section titled “EditorMenuContext.Constructor”
- Creates a contextual menu request.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public Inno.Editor.Interactions.EditorMenuContext.EditorMenuContext(Inno.Editor.Core.EditorContext editor, Inno.Editor.Interactions.EditorInteractions interactions, string area, object? target = null)Parameters
Section titled “Parameters”Parameter editor: The shared passive editor context.
Parameter interactions: The active interaction entry point.
Parameter area: The exact menu area being requested.
Parameter target: The optional object the menu operates on.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when editor or interactions is null.
Exception T:System.ArgumentException: Thrown when area is empty.