Class OpenTypeDataEditorCommandHandler
- Namespace
- Loehnert.Lisrt.TypeAndResult.Commands
- Assembly
- Loehnert.Lisrt.TypeAndResult.dll
Represents the command handler for the OpenTypeDataEditorCommandDefinition.
[CommandHandler]
public class OpenTypeDataEditorCommandHandler : CommandHandlerBase<OpenTypeDataEditorCommandDefinition>, ICommandHandler<OpenTypeDataEditorCommandDefinition>, ICommandHandler
- Inheritance
-
OpenTypeDataEditorCommandHandler
- Implements
- Inherited Members
Constructors
OpenTypeDataEditorCommandHandler(IShell, TypeDataEditorViewModel)
Initializes a new instance of the OpenTypeDataEditorCommandHandler class.
[ImportingConstructor]
public OpenTypeDataEditorCommandHandler(IShell shell, TypeDataEditorViewModel editor)
Parameters
shellIShellShell that contains the editor.
editorTypeDataEditorViewModelEditor to show.
Methods
Run(Command)
Shows the dialog for editing type data.
public override Task Run(Command command)
Parameters
commandCommandThe related command.
Returns
- Task
Started task.