|
|
|
@ -1,6 +1,7 @@ |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using JetBrains.Annotations; |
|
|
|
using Volo.Abp.Cli.ProjectBuilding.Templates.App; |
|
|
|
|
|
|
|
namespace Volo.Abp.Cli.ProjectBuilding.Building; |
|
|
|
|
|
|
|
@ -35,4 +36,9 @@ public abstract class TemplateInfo |
|
|
|
{ |
|
|
|
return Name.EndsWith("-pro", StringComparison.OrdinalIgnoreCase); |
|
|
|
} |
|
|
|
|
|
|
|
public bool IsNoLayer() |
|
|
|
{ |
|
|
|
return Name is AppNoLayersTemplate.TemplateName or AppNoLayersProTemplate.TemplateName; |
|
|
|
} |
|
|
|
} |
|
|
|
|