EditorAISettingsCommandBuilder
Methods
Text(System.String)
The text of the command.
Parameters
value - System.String
The value for Text
RETURNS
The EditorAISettingsCommandBuilder instance of the command builder.
Id(System.String)
The id of the command.
Parameters
value - System.String
The value for Id
RETURNS
The EditorAISettingsCommandBuilder instance of the command builder.
Icon(System.String)
The icon of the command.
Parameters
value - System.String
The value for Icon
RETURNS
The EditorAISettingsCommandBuilder instance of the command builder.
Prompt(System.String)
The prompt for the command. The function accepts the following arguments: context - The selected text in the editor..
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
RETURNS
The EditorAISettingsCommandBuilder instance of the command builder.
Prompt(System.Func)
The prompt for the command. The function accepts the following arguments: context - The selected text in the editor..
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
The EditorAISettingsCommandBuilder instance of the command builder.
Items(System.Action)
Defines the items in the prompt commands.
Parameters
addAction - System.Action<EditorAISettingsCommandFactory>
RETURNS
Returns the current EditorAISettingsCommandBuilder instance.