Show / Hide Table of Contents

Class AddModuleCommand

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

Constructors

AddModuleCommand(SolutionModuleAdder, SolutionAbpVersionFinder)

Declaration
public AddModuleCommand(SolutionModuleAdder solutionModuleAdder, SolutionAbpVersionFinder solutionAbpVersionFinder)
Parameters
Type Name Description
SolutionModuleAdder solutionModuleAdder
SolutionAbpVersionFinder solutionAbpVersionFinder

Properties

Logger

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

SolutionAbpVersionFinder

Declaration
public SolutionAbpVersionFinder SolutionAbpVersionFinder { get; }
Property Value
Type Description
SolutionAbpVersionFinder

SolutionModuleAdder

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

Methods

ExecuteAsync(CommandLineArgs)

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

GetShortDescription()

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

GetSolutionFile(CommandLineArgs)

Declaration
protected virtual string GetSolutionFile(CommandLineArgs commandLineArgs)
Parameters
Type Name Description
CommandLineArgs commandLineArgs
Returns
Type Description
System.String

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.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