Show / Hide Table of Contents

Class NewCommand

Inheritance
System.Object
NewCommand
Implements
IConsoleCommand
ITransientDependency
Namespace: Volo.Abp.Cli.Commands
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class NewCommand : object, IConsoleCommand, ITransientDependency

Constructors

NewCommand(TemplateProjectBuilder)

Declaration
public NewCommand(TemplateProjectBuilder templateProjectBuilder)
Parameters
Type Name Description
TemplateProjectBuilder templateProjectBuilder

Properties

Logger

Declaration
public ILogger<NewCommand> Logger { get; set; }
Property Value
Type Description
ILogger<NewCommand>

TemplateProjectBuilder

Declaration
protected TemplateProjectBuilder TemplateProjectBuilder { get; }
Property Value
Type Description
TemplateProjectBuilder

Methods

ExecuteAsync(CommandLineArgs)

Declaration
public Task ExecuteAsync(CommandLineArgs commandLineArgs)
Parameters
Type Name Description
CommandLineArgs commandLineArgs
Returns
Type Description
Task

GetDatabaseProvider(CommandLineArgs)

Declaration
protected virtual DatabaseProvider GetDatabaseProvider(CommandLineArgs commandLineArgs)
Parameters
Type Name Description
CommandLineArgs commandLineArgs
Returns
Type Description
DatabaseProvider

GetMobilePreference(CommandLineArgs)

Declaration
protected virtual MobileApp GetMobilePreference(CommandLineArgs commandLineArgs)
Parameters
Type Name Description
CommandLineArgs commandLineArgs
Returns
Type Description
MobileApp

GetShortDescription()

Declaration
public string GetShortDescription()
Returns
Type Description
System.String

GetUiFramework(CommandLineArgs)

Declaration
protected virtual UiFramework GetUiFramework(CommandLineArgs commandLineArgs)
Parameters
Type Name Description
CommandLineArgs commandLineArgs
Returns
Type Description
UiFramework

GetUsageInfo()

Declaration
public string GetUsageInfo()
Returns
Type Description
System.String

Implements

IConsoleCommand
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft