Interface IVsEnvironmentCommand<TModel>
Base implementation for all code factory commands that are directly executed by the Visual Studio Enviornment.
Inherited Members
Namespace: CodeFactory.WinVs.Commands
Assembly: CodeFactory.WinVs.dll
Syntax
public interface IVsEnvironmentCommand<TModel> : IVsCommandInformation where TModel : class
Type Parameters
Name | Description |
---|---|
TModel | Target code factory model to be provided for the command. |
Properties
VisualStudioActions
Global visual studio commands that can be accessed from this visual studio command.
Declaration
IVsActions VisualStudioActions { get; }
Property Value
Type | Description |
---|---|
IVsActions |
Methods
ExecuteCommandAsync(TModel)
Code factory framework calls this method when the command has been executed.
Declaration
Task ExecuteCommandAsync(TModel result)
Parameters
Type | Name | Description |
---|---|---|
TModel | result | The code factory model that has generated and provided to the command to process. |
Returns
Type | Description |
---|---|
Task |