Table of Contents

Class NewFileCommandHandler

Namespace
Gemini.Modules.Shell.Commands
Assembly
Gemini.dll
[CommandHandler]
public class NewFileCommandHandler : ICommandListHandler<NewFileCommandListDefinition>, ICommandHandler
Inheritance
NewFileCommandHandler
Implements
Inherited Members

Constructors

NewFileCommandHandler(IShell, IEditorProvider[])

[ImportingConstructor]
public NewFileCommandHandler(IShell shell, IEditorProvider[] editorProviders)

Parameters

shell IShell
editorProviders IEditorProvider[]

Methods

Populate(Command, List<Command>)

Populates the commands in the command list. Add your command items to the commands.

public void Populate(Command command, List<Command> commands)

Parameters

command Command

Main command.

commands List<Command>

List of commands.

Run(Command)

Runs the command.

public Task Run(Command command)

Parameters

command Command

Associated command.

Returns

Task

A task that represents the command execution.