Synced
EditorInteraction.Present
Section titled “EditorInteraction.Present”
- Presents an active action in place of this target’s normal content.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Interactions
Scope: Editor
Declaration
Section titled “Declaration”public bool InnoEditor.Interactions.EditorInteraction.Present(string action, object? argument = null)Parameters
Section titled “Parameters”Parameter action: The stable action name.
Parameter argument: Optional presentation data supplied by the current view.
Returns
Section titled “Returns”true when the action presented content; otherwise, false.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when action is empty.