Show / Hide Table of Contents

Class AppTemplateBase

Inheritance
object
TemplateInfo
AppTemplateBase
AppProTemplate
AppTemplate
Inherited Members
TemplateInfo.IsPro()
TemplateInfo.IsNoLayer()
TemplateInfo.Name
TemplateInfo.DefaultDatabaseProvider
TemplateInfo.DefaultUiFramework
TemplateInfo.DocumentUrl
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Cli.ProjectBuilding.Templates.App
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public abstract class AppTemplateBase : TemplateInfo

Constructors

AppTemplateBase(string)

Declaration
protected AppTemplateBase(string templateName)
Parameters
Type Name Description
string templateName

Properties

HasDbMigrations

Declaration
public bool HasDbMigrations { get; set; }
Property Value
Type Description
bool

Methods

ChangeConnectionString(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void ChangeConnectionString(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

CleanupFolderHierarchy(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void CleanupFolderHierarchy(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

ConfigurePublicWebSite(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void ConfigurePublicWebSite(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

ConfigureTenantSchema(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void ConfigureTenantSchema(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

ConfigureTheme(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void ConfigureTheme(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

ConfigureTieredArchitecture(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void ConfigureTieredArchitecture(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

ConfigureVersion(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void ConfigureVersion(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

ConfigureWithAngularUi(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void ConfigureWithAngularUi(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

ConfigureWithBlazorServerUi(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void ConfigureWithBlazorServerUi(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

ConfigureWithBlazorUi(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void ConfigureWithBlazorUi(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

ConfigureWithBlazorWebAppUi(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void ConfigureWithBlazorWebAppUi(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

ConfigureWithMauiBlazorUi(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void ConfigureWithMauiBlazorUi(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

ConfigureWithMvcUi(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void ConfigureWithMvcUi(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

ConfigureWithoutUi(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void ConfigureWithoutUi(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

DeleteUnrelatedProjects(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void DeleteUnrelatedProjects(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

GetCustomSteps(ProjectBuildContext)

Declaration
public override IEnumerable<ProjectBuildPipelineStep> GetCustomSteps(ProjectBuildContext context)
Parameters
Type Name Description
ProjectBuildContext context
Returns
Type Description
IEnumerable<ProjectBuildPipelineStep>
Overrides
TemplateInfo.GetCustomSteps(ProjectBuildContext)

IsAppTemplate(string)

Declaration
public static bool IsAppTemplate(string templateName)
Parameters
Type Name Description
string templateName
Returns
Type Description
bool

IsCmsKitSupportedForTargetVersion(ProjectBuildContext)

Declaration
protected bool IsCmsKitSupportedForTargetVersion(ProjectBuildContext context)
Parameters
Type Name Description
ProjectBuildContext context
Returns
Type Description
bool

RandomizeAuthServerPassPhrase(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected static void RandomizeAuthServerPassPhrase(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

RandomizeSslPorts(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void RandomizeSslPorts(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

RandomizeStringEncryption(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void RandomizeStringEncryption(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

RemoveCmsKitDependenciesFromPackageJsonFiles(List<ProjectBuildPipelineStep>)

Declaration
protected static void RemoveCmsKitDependenciesFromPackageJsonFiles(List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
List<ProjectBuildPipelineStep> steps

RemoveMigrations(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void RemoveMigrations(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

RemoveUnnecessaryPorts(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void RemoveUnnecessaryPorts(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

SetDbmsSymbols(ProjectBuildContext)

Declaration
protected void SetDbmsSymbols(ProjectBuildContext context)
Parameters
Type Name Description
ProjectBuildContext context

SwitchDatabaseProvider(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void SwitchDatabaseProvider(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

UpdateNuGetConfig(ProjectBuildContext, List<ProjectBuildPipelineStep>)

Declaration
protected void UpdateNuGetConfig(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
Parameters
Type Name Description
ProjectBuildContext context
List<ProjectBuildPipelineStep> steps

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