Interface ICommandBase<TModel>
Minimum implementation for all code factory commands.
Namespace: CodeFactory
Assembly: CodeFactory.dll
Syntax
public interface ICommandBase<TModel> where TModel : class
Type Parameters
Name | Description |
---|---|
TModel | Target code factory model to be provided for the command. |
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 |