Class ProjectCreationCommandBase
Inheritance
ProjectCreationCommandBase
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public abstract class ProjectCreationCommandBase
Constructors
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
Properties
AngularPwaSupportAdder
Declaration
public AngularPwaSupportAdder AngularPwaSupportAdder { get; }
Property Value
Declaration
public AngularThemeConfigurer AngularThemeConfigurer { get; }
Property Value
CliService
Declaration
public CliService CliService { get; }
Property Value
CliVersionService
Declaration
public CliVersionService CliVersionService { get; }
Property Value
CmdHelper
Declaration
public ICmdHelper CmdHelper { get; }
Property Value
ConnectionStringProvider
Declaration
public ConnectionStringProvider ConnectionStringProvider { get; }
Property Value
EventBus
Declaration
public ILocalEventBus EventBus { get; }
Property Value
InitialMigrationCreator
Declaration
public InitialMigrationCreator InitialMigrationCreator { get; }
Property Value
InstallLibsService
Declaration
public IInstallLibsService InstallLibsService { get; }
Property Value
Logger
Declaration
public ILogger<NewCommand> Logger { get; set; }
Property Value
SolutionPackageVersionFinder
Declaration
public SolutionPackageVersionFinder SolutionPackageVersionFinder { get; }
Property Value
ThemePackageAdder
Declaration
public ThemePackageAdder ThemePackageAdder { get; }
Property Value
Methods
Declaration
protected virtual Task ConfigureAngularAfterMicroserviceServiceCreatedAsync(ProjectBuildArgs projectArgs, string template)
Parameters
Returns
Declaration
protected void ConfigureAngularJsonForThemeSelection(ProjectBuildArgs projectArgs)
Parameters
Declaration
protected Task ConfigurePwaSupportForAngular(ProjectBuildArgs projectArgs)
Parameters
Returns
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
CreateInitialMigrationsAsync(ProjectBuildArgs)
Declaration
protected Task CreateInitialMigrationsAsync(ProjectBuildArgs projectArgs)
Parameters
Returns
CreateOpenIddictPfxFilesAsync(ProjectBuildArgs)
Declaration
protected Task CreateOpenIddictPfxFilesAsync(ProjectBuildArgs projectArgs)
Parameters
Returns
ExtractProjectZip(ProjectBuildResult, string)
Declaration
protected void ExtractProjectZip(ProjectBuildResult project, string outputFolder)
Parameters
FindMicroserviceSolutionUiFramework(string)
Declaration
protected UiFramework FindMicroserviceSolutionUiFramework(string outputFolderRoot)
Parameters
Type |
Name |
Description |
string |
outputFolderRoot |
|
Returns
GetConnectionString(CommandLineArgs)
Declaration
protected static string GetConnectionString(CommandLineArgs commandLineArgs)
Parameters
Returns
GetCreateSolutionFolderPreference(CommandLineArgs)
Declaration
protected bool GetCreateSolutionFolderPreference(CommandLineArgs commandLineArgs)
Parameters
Returns
GetDatabaseManagementSystem(CommandLineArgs)
Declaration
protected virtual DatabaseManagementSystem GetDatabaseManagementSystem(CommandLineArgs commandLineArgs)
Parameters
Returns
GetDatabaseProvider(CommandLineArgs)
Declaration
protected virtual DatabaseProvider GetDatabaseProvider(CommandLineArgs commandLineArgs)
Parameters
Returns
GetMobilePreference(CommandLineArgs, string)
Declaration
protected virtual MobileApp GetMobilePreference(CommandLineArgs commandLineArgs, string template)
Parameters
Returns
GetProjectBuildArgsAsync(CommandLineArgs, string, string)
Declaration
protected Task<ProjectBuildArgs> GetProjectBuildArgsAsync(CommandLineArgs commandLineArgs, string template, string projectName)
Parameters
Returns
GetThemeByTemplateOrNull(CommandLineArgs, string)
Declaration
protected virtual Theme? GetThemeByTemplateOrNull(CommandLineArgs commandLineArgs, string template = "app")
Parameters
Returns
GetThemeStyleOrNull(CommandLineArgs, Theme)
Declaration
protected virtual ThemeStyle? GetThemeStyleOrNull(CommandLineArgs commandLineArgs, Theme theme)
Parameters
Returns
GetUiFramework(CommandLineArgs, string)
Declaration
protected virtual UiFramework GetUiFramework(CommandLineArgs commandLineArgs, string template = "app")
Parameters
Returns
OpenMicroserviceDocumentPage()
Declaration
protected void OpenMicroserviceDocumentPage()
OpenRelatedWebPage(ProjectBuildArgs, string, bool, CommandLineArgs)
Declaration
protected void OpenRelatedWebPage(ProjectBuildArgs projectArgs, string template, bool isTiered, CommandLineArgs commandLineArgs)
Parameters
OpenThanksPage(UiFramework, DatabaseProvider, bool, bool)
Declaration
protected void OpenThanksPage(UiFramework uiFramework, DatabaseProvider databaseProvider, bool tiered, bool commercial)
Parameters
RunBundleInternalAsync(ProjectBuildArgs)
Declaration
protected virtual Task RunBundleInternalAsync(ProjectBuildArgs projectArgs)
Parameters
Returns
Declaration
protected virtual Task RunGraphBuildForMicroserviceServiceTemplate(ProjectBuildArgs projectArgs)
Parameters
Returns
RunInstallLibsForWebTemplateAsync(ProjectBuildArgs)
Declaration
protected Task RunInstallLibsForWebTemplateAsync(ProjectBuildArgs projectArgs)
Parameters
Returns
ShouldRunBundleCommand(ProjectBuildArgs)
Declaration
protected virtual bool ShouldRunBundleCommand(ProjectBuildArgs projectArgs)
Parameters
Returns
Extension Methods