Show / Hide Table of Contents

Class ProjectCreationCommandBase

Inheritance
object
ProjectCreationCommandBase
NewCommand
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 abstract class ProjectCreationCommandBase

Constructors

ProjectCreationCommandBase(ConnectionStringProvider, SolutionPackageVersionFinder, ICmdHelper, IInstallLibsService, CliService, AngularPwaSupportAdder, InitialMigrationCreator, ThemePackageAdder, ILocalEventBus, IBundlingService, AngularThemeConfigurer, CliVersionService)

Declaration
public ProjectCreationCommandBase(ConnectionStringProvider connectionStringProvider, SolutionPackageVersionFinder solutionPackageVersionFinder, ICmdHelper cmdHelper, IInstallLibsService installLibsService, CliService cliService, AngularPwaSupportAdder angularPwaSupportAdder, InitialMigrationCreator initialMigrationCreator, ThemePackageAdder themePackageAdder, ILocalEventBus eventBus, IBundlingService bundlingService, AngularThemeConfigurer angularThemeConfigurer, CliVersionService cliVersionService)
Parameters
Type Name Description
ConnectionStringProvider connectionStringProvider
SolutionPackageVersionFinder solutionPackageVersionFinder
ICmdHelper cmdHelper
IInstallLibsService installLibsService
CliService cliService
AngularPwaSupportAdder angularPwaSupportAdder
InitialMigrationCreator initialMigrationCreator
ThemePackageAdder themePackageAdder
ILocalEventBus eventBus
IBundlingService bundlingService
AngularThemeConfigurer angularThemeConfigurer
CliVersionService cliVersionService

Properties

AngularPwaSupportAdder

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

AngularThemeConfigurer

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

CliService

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

CliVersionService

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

CmdHelper

Declaration
public ICmdHelper CmdHelper { get; }
Property Value
Type Description
ICmdHelper

ConnectionStringProvider

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

EventBus

Declaration
public ILocalEventBus EventBus { get; }
Property Value
Type Description
ILocalEventBus

InitialMigrationCreator

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

InstallLibsService

Declaration
public IInstallLibsService InstallLibsService { get; }
Property Value
Type Description
IInstallLibsService

Logger

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

SolutionPackageVersionFinder

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

ThemePackageAdder

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

Methods

ConfigureAngularAfterMicroserviceServiceCreatedAsync(ProjectBuildArgs, string)

Declaration
protected virtual Task ConfigureAngularAfterMicroserviceServiceCreatedAsync(ProjectBuildArgs projectArgs, string template)
Parameters
Type Name Description
ProjectBuildArgs projectArgs
string template
Returns
Type Description
Task

ConfigureAngularJsonForThemeSelection(ProjectBuildArgs)

Declaration
protected void ConfigureAngularJsonForThemeSelection(ProjectBuildArgs projectArgs)
Parameters
Type Name Description
ProjectBuildArgs projectArgs

ConfigurePwaSupportForAngular(ProjectBuildArgs)

Declaration
protected Task ConfigurePwaSupportForAngular(ProjectBuildArgs projectArgs)
Parameters
Type Name Description
ProjectBuildArgs projectArgs
Returns
Type Description
Task

CreateAngularLibraryAsync(string, string, bool, bool, bool)

Declaration
protected virtual Task<string> CreateAngularLibraryAsync(string libraryName, string workingDirectory, bool isSecondaryEndpoint = false, bool isModuleTemplate = true, bool isOverride = true)
Parameters
Type Name Description
string libraryName
string workingDirectory
bool isSecondaryEndpoint
bool isModuleTemplate
bool isOverride
Returns
Type Description
Task<string>

CreateInitialMigrationsAsync(ProjectBuildArgs)

Declaration
protected Task CreateInitialMigrationsAsync(ProjectBuildArgs projectArgs)
Parameters
Type Name Description
ProjectBuildArgs projectArgs
Returns
Type Description
Task

CreateOpenIddictPfxFilesAsync(ProjectBuildArgs)

Declaration
protected Task CreateOpenIddictPfxFilesAsync(ProjectBuildArgs projectArgs)
Parameters
Type Name Description
ProjectBuildArgs projectArgs
Returns
Type Description
Task

ExtractProjectZip(ProjectBuildResult, string)

Declaration
protected void ExtractProjectZip(ProjectBuildResult project, string outputFolder)
Parameters
Type Name Description
ProjectBuildResult project
string outputFolder

FindMicroserviceSolutionUiFramework(string)

Declaration
protected UiFramework FindMicroserviceSolutionUiFramework(string outputFolderRoot)
Parameters
Type Name Description
string outputFolderRoot
Returns
Type Description
UiFramework

GetConnectionString(CommandLineArgs)

Declaration
protected static string GetConnectionString(CommandLineArgs commandLineArgs)
Parameters
Type Name Description
CommandLineArgs commandLineArgs
Returns
Type Description
string

GetCreateSolutionFolderPreference(CommandLineArgs)

Declaration
protected bool GetCreateSolutionFolderPreference(CommandLineArgs commandLineArgs)
Parameters
Type Name Description
CommandLineArgs commandLineArgs
Returns
Type Description
bool

GetDatabaseManagementSystem(CommandLineArgs)

Declaration
protected virtual DatabaseManagementSystem GetDatabaseManagementSystem(CommandLineArgs commandLineArgs)
Parameters
Type Name Description
CommandLineArgs commandLineArgs
Returns
Type Description
DatabaseManagementSystem

GetDatabaseProvider(CommandLineArgs)

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

GetMobilePreference(CommandLineArgs, string)

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

GetProjectBuildArgsAsync(CommandLineArgs, string, string)

Declaration
protected Task<ProjectBuildArgs> GetProjectBuildArgsAsync(CommandLineArgs commandLineArgs, string template, string projectName)
Parameters
Type Name Description
CommandLineArgs commandLineArgs
string template
string projectName
Returns
Type Description
Task<ProjectBuildArgs>

GetThemeByTemplateOrNull(CommandLineArgs, string)

Declaration
protected virtual Theme? GetThemeByTemplateOrNull(CommandLineArgs commandLineArgs, string template = "app")
Parameters
Type Name Description
CommandLineArgs commandLineArgs
string template
Returns
Type Description
Theme?

GetThemeStyleOrNull(CommandLineArgs, Theme)

Declaration
protected virtual ThemeStyle? GetThemeStyleOrNull(CommandLineArgs commandLineArgs, Theme theme)
Parameters
Type Name Description
CommandLineArgs commandLineArgs
Theme theme
Returns
Type Description
ThemeStyle?

GetUiFramework(CommandLineArgs, string)

Declaration
protected virtual UiFramework GetUiFramework(CommandLineArgs commandLineArgs, string template = "app")
Parameters
Type Name Description
CommandLineArgs commandLineArgs
string template
Returns
Type Description
UiFramework

OpenMicroserviceDocumentPage()

Declaration
protected void OpenMicroserviceDocumentPage()

OpenRelatedWebPage(ProjectBuildArgs, string, bool, CommandLineArgs)

Declaration
protected void OpenRelatedWebPage(ProjectBuildArgs projectArgs, string template, bool isTiered, CommandLineArgs commandLineArgs)
Parameters
Type Name Description
ProjectBuildArgs projectArgs
string template
bool isTiered
CommandLineArgs commandLineArgs

OpenThanksPage(UiFramework, DatabaseProvider, bool, bool)

Declaration
protected void OpenThanksPage(UiFramework uiFramework, DatabaseProvider databaseProvider, bool tiered, bool commercial)
Parameters
Type Name Description
UiFramework uiFramework
DatabaseProvider databaseProvider
bool tiered
bool commercial

RunBundleInternalAsync(ProjectBuildArgs)

Declaration
protected virtual Task RunBundleInternalAsync(ProjectBuildArgs projectArgs)
Parameters
Type Name Description
ProjectBuildArgs projectArgs
Returns
Type Description
Task

RunGraphBuildForMicroserviceServiceTemplate(ProjectBuildArgs)

Declaration
protected virtual Task RunGraphBuildForMicroserviceServiceTemplate(ProjectBuildArgs projectArgs)
Parameters
Type Name Description
ProjectBuildArgs projectArgs
Returns
Type Description
Task

RunInstallLibsForWebTemplateAsync(ProjectBuildArgs)

Declaration
protected Task RunInstallLibsForWebTemplateAsync(ProjectBuildArgs projectArgs)
Parameters
Type Name Description
ProjectBuildArgs projectArgs
Returns
Type Description
Task

ShouldRunBundleCommand(ProjectBuildArgs)

Declaration
protected virtual bool ShouldRunBundleCommand(ProjectBuildArgs projectArgs)
Parameters
Type Name Description
ProjectBuildArgs projectArgs
Returns
Type Description
bool

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