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
shell
IShellShell that contains the editor.
editor
TypeDataEditorViewModelEditor to show.
Methods
Run(Command)
Shows the dialog for editing type data.
public override Task Run(Command command)
Parameters
command
CommandThe related command.
Returns
- Task
Started task.