Show / Hide Table of Contents

Class AddModuleCommand

Inheritance
object
AddModuleCommand
Implements
IConsoleCommand
ITransientDependency
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 AddModuleCommand : IConsoleCommand, ITransientDependency

Constructors

AddModuleCommand(SolutionModuleAdder, SolutionPackageVersionFinder, IOptions<AbpCliOptions>)

Declaration
public AddModuleCommand(SolutionModuleAdder solutionModuleAdder, SolutionPackageVersionFinder solutionPackageVersionFinder, IOptions<AbpCliOptions> options)
Parameters
Type Name Description
SolutionModuleAdder solutionModuleAdder
SolutionPackageVersionFinder solutionPackageVersionFinder
IOptions<AbpCliOptions> options

Fields

Name

Declaration
public const string Name = "add-module"
Field Value
Type Description
string

Properties

LastAddedModuleInfo

Declaration
public AddModuleInfoOutput LastAddedModuleInfo { get; }
Property Value
Type Description
AddModuleInfoOutput

Logger

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

SolutionModuleAdder

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

SolutionPackageVersionFinder

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

Methods

ExecuteAsync(CommandLineArgs)

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

GetShortDescription()

Declaration
public static string GetShortDescription()
Returns
Type Description
string

GetSolutionFile(CommandLineArgs)

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

GetUsageInfo()

Declaration
public string GetUsageInfo()
Returns
Type Description
string

Implements

IConsoleCommand
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform