Class ListTemplatesCommand
Inheritance
object
ListTemplatesCommand
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Cli.Commands
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class ListTemplatesCommand : IConsoleCommand, ITransientDependency
Constructors
ListTemplatesCommand(CliHttpClientFactory, IJsonSerializer, ICancellationTokenProvider, IRemoteServiceExceptionHandler)
Declaration
public ListTemplatesCommand(CliHttpClientFactory cliHttpClientFactory, IJsonSerializer jsonSerializer, ICancellationTokenProvider cancellationTokenProvider, IRemoteServiceExceptionHandler remoteServiceExceptionHandler)
Parameters
| Type | Name | Description |
|---|---|---|
| CliHttpClientFactory | cliHttpClientFactory | |
| IJsonSerializer | jsonSerializer | |
| ICancellationTokenProvider | cancellationTokenProvider | |
| IRemoteServiceExceptionHandler | remoteServiceExceptionHandler |
Fields
Name
Declaration
public const string Name = "list-templates"
Field Value
| Type | Description |
|---|---|
| string |
Properties
Logger
Declaration
public ILogger<ListTemplatesCommand> Logger { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.Extensions.Logging.ILogger<TCategoryName><ListTemplatesCommand> |
Methods
ExecuteAsync(CommandLineArgs)
Declaration
public Task ExecuteAsync(CommandLineArgs commandLineArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| CommandLineArgs | commandLineArgs |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
GetShortDescription()
Declaration
public string GetShortDescription()
Returns
| Type | Description |
|---|---|
| string |
GetUsageInfo()
Declaration
public string GetUsageInfo()
Returns
| Type | Description |
|---|---|
| string |