Skip to content

Commit

Permalink
chore: 修正一个拓展方法命名不统一问题;
Browse files Browse the repository at this point in the history
  • Loading branch information
stratosblue committed Feb 4, 2025
1 parent e8cd4b0 commit 6a977ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>2.0.0-pre-006</Version>
<Version>2.0.0-pre-007</Version>

<Description>A message driven distributed asynchronous workflow framework. 消息驱动的分布式异步工作流程处理框架。</Description>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static class {WorkflowName}StageHandlerDIExtensions
public static {WorkflowClassName}Configuration AddStage{stage.Name}Handler<THandler>(this {WorkflowClassName}Configuration configuration, ServiceLifetime serviceLifetime = ServiceLifetime.Scoped)
where THandler : Stage{stage.Name}HandlerBase
{{
return configuration.Add{stage.Name}StageHandler<THandler, Stage{stage.Name}Continuator>(serviceLifetime);
return configuration.AddStage{stage.Name}Handler<THandler, Stage{stage.Name}Continuator>(serviceLifetime);
}}
/// <summary>
Expand All @@ -56,7 +56,7 @@ public static class {WorkflowName}StageHandlerDIExtensions
/// <param name=""configuration""></param>
/// <param name=""serviceLifetime""></param>
/// <returns></returns>
public static {WorkflowClassName}Configuration Add{stage.Name}StageHandler<THandler, TContinuator>(this {WorkflowClassName}Configuration configuration, ServiceLifetime serviceLifetime = ServiceLifetime.Scoped)
public static {WorkflowClassName}Configuration AddStage{stage.Name}Handler<THandler, TContinuator>(this {WorkflowClassName}Configuration configuration, ServiceLifetime serviceLifetime = ServiceLifetime.Scoped)
where THandler : Stage{stage.Name}HandlerBase
where TContinuator : Stage{stage.Name}ContinuatorBase
{{
Expand Down

0 comments on commit 6a977ec

Please sign in to comment.