Skip to content

Commit

Permalink
Merge pull request #167 from blackWins/IntegrationServiceOption
Browse files Browse the repository at this point in the history
Add the integration service parameters
  • Loading branch information
gdlcf88 authored Oct 31, 2023
2 parents 86684b6 + 7eaf681 commit c8b73e5
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public class AbpHelperGenerateAppServiceMethodsInput : AbpHelperGenerateInput

public virtual bool NoOutput { get; set; }

public virtual bool IntegrationService { get; set; }

public AbpHelperGenerateAppServiceMethodsInput()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public class AbpHelperGenerateControllerInput : AbpHelperGenerateInput

public virtual bool SkipBuild { get; set; }

public virtual bool IntegrationService { get; set; }

public AbpHelperGenerateControllerInput()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,13 @@
"CodeGeneration_AppService:Folder": "Generate to folder",
"CodeGeneration_AppService:MethodNames": "Method names",
"CodeGeneration_AppService:ServiceName": "Service name",
"CodeGeneration_AppService:IntegrationService": "As Integration Service",
"CodeGeneration_AppService:NoInput": "No input DTO",
"CodeGeneration_AppService:NoOutput": "No output DTO",
"CodeGeneration_Controller": "Controller",
"CodeGeneration_Controller:GenerateController": "Generate controller",
"CodeGeneration_Controller:Name": "Service name",
"CodeGeneration_Controller:IntegrationService": "As Integration Controller",
"CodeGeneration_Controller:SkipBuild": "Skip build",
"CodeGeneration_Localization": "Localization",
"CodeGeneration_Localization:GenerateLocalizationItems": "Generate items",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"AbpCli_New:CreateSolutionFolder": "创建解决方案目录 - CreateSolutionFolder",
"AbpCli_New:NoRandomPort": "不生成随机端口号 - NoRandomPort",
"AbpCli_New:SkipInstallingLibs": "跳过安装客户端 Packages - SkipInstallingLibs",
"AbpCli_New:SkipBundling":"跳过执行 Bundle 命令 - SkipBundling",
"AbpCli_New:SkipBundling": "跳过执行 Bundle 命令 - SkipBundling",
"AbpCli_Update": "更新 ABP 版本",
"AbpCli_Update:SolutionPath": "解决方案路径 - SolutionPath",
"AbpCli_Update:SolutionName": "解决方案名称 - SolutionName",
Expand Down Expand Up @@ -168,11 +168,13 @@
"CodeGeneration_AppService:Folder": "生成到目录 - Folder",
"CodeGeneration_AppService:MethodNames": "方法名(支持填写多个) - MethodNames",
"CodeGeneration_AppService:ServiceName": "服务名 - ServiceName",
"CodeGeneration_AppService:IntegrationService": "作为集成服务 - IntegrationService",
"CodeGeneration_AppService:NoInput": "不生成入参 DTO - NoInput",
"CodeGeneration_AppService:NoOutput": "不生成返回 DTO - NoOutput",
"CodeGeneration_Controller": "控制器",
"CodeGeneration_Controller:GenerateController": "生成控制器",
"CodeGeneration_Controller:Name": "服务名 - Name",
"CodeGeneration_Controller:IntegrationController": "作为集成控制器 - IntegrationController",
"CodeGeneration_Controller:SkipBuild": "跳过构建步骤 - SkipBuild",
"CodeGeneration_Localization": "本地化",
"CodeGeneration_Localization:GenerateLocalizationItems": "生成项",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@
"AbpCli_New:Preview": "使用預覽版 - Preview",
"AbpCli_New:CreateSolutionFolder": "創建解決方案目錄 - CreateSolutionFolder",
"AbpCli_New:NoRandomPort": "不生成隨機端口號 - NoRandomPort",
"AbpCli_New:SkipInstallingLibs":"跳過安裝客戶端 Packages - SkipInstallingLibs",
"AbpCli_New:SkipBundling":"跳過執行 Bundle 命令 - SkipBundling",
"AbpCli_New:SkipInstallingLibs": "跳過安裝客戶端 Packages - SkipInstallingLibs",
"AbpCli_New:SkipBundling": "跳過執行 Bundle 命令 - SkipBundling",
"AbpCli_Update": "更新 ABP 版本",
"AbpCli_Update:SolutionPath": "解決方案路徑 - SolutionPath",
"AbpCli_Update:SolutionName": "解決方案名稱 - SolutionName",
Expand Down Expand Up @@ -161,11 +161,13 @@
"CodeGeneration_AppService:Folder": "生成到目錄 - Folder",
"CodeGeneration_AppService:MethodNames": "方法名(支持填寫多個) - MethodNames",
"CodeGeneration_AppService:ServiceName": "服務名 - ServiceName",
"CodeGeneration_AppService:IntegrationService": "作爲集成服務 - IntegrationService",
"CodeGeneration_AppService:NoInput": "不生成入參 DTO - NoInput",
"CodeGeneration_AppService:NoOutput": "不生成返回 DTO - NoOutput",
"CodeGeneration_Controller": "控制器",
"CodeGeneration_Controller:GenerateController": "生成控制器",
"CodeGeneration_Controller:Name": "服務名 - Name",
"CodeGeneration_Controller:IntegrationController": "作爲集成控制器 - IntegrationController",
"CodeGeneration_Controller:SkipBuild": "跳過構建步驟 - SkipBuild",
"CodeGeneration_Localization": "本地化",
"CodeGeneration_Localization:GenerateLocalizationItems": "生成項",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
</TextEdit>
</Field>
</Validation>
<Field>
<Check TValue="bool" @bind-Checked="@Input.IntegrationService">@L["CodeGeneration_AppService:IntegrationService"]</Check>
</Field>
<Field>
<Check TValue="bool" @bind-Checked="@Input.NoInput">@L["CodeGeneration_AppService:NoInput"]</Check>
</Field>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
</TextEdit>
</Field>
</Validation>
<Field>
<Check TValue="bool" @bind-Checked="@Input.IntegrationService">@L["CodeGeneration_Controller:IntegrationController"]</Check>
</Field>
<Field>
<Check TValue="bool" @bind-Checked="@Input.SkipBuild">@L["CodeGeneration_Controller:SkipBuild"]</Check>
</Field>
Expand Down

0 comments on commit c8b73e5

Please sign in to comment.