Skip to content

Commit

Permalink
feature:
Browse files Browse the repository at this point in the history
调整代码
  • Loading branch information
KawhiWei committed Jul 31, 2024
1 parent e923836 commit 6ff38da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/framework/Luck.Pipeline/DefaultDelegatePipe.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Luck.Framework.PipelineAbstract;
using Microsoft.Extensions.Logging;

namespace Luck.Pipeline;

Expand Down
4 changes: 3 additions & 1 deletion test/Luck.UnitTest/Pipeline_Tests/PipelineTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ public void CreatePipelineFactory()
public void CreateDelegatePipelineFactory()
{
IServiceCollection services = new ServiceCollection();
services.AddScoped<IPipelineFactory, PipelineFactory>()
services
.AddLogging()
.AddScoped<IPipelineFactory, PipelineFactory>()
.AddScoped<FetchOrderDetailDelegatePipePipe>()
.AddScoped<CreateCustomerDelegatePipe>()
.AddScoped<CancelDelegatePipe>();
Expand Down

0 comments on commit 6ff38da

Please sign in to comment.