Skip to content

Commit dfef1f8

Browse files
committed
#27 fixed build failed
1 parent a570f61 commit dfef1f8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/NetCoreKit.Infrastructure.AspNetCore.Miniservice/EfCore.ServiceCollectionExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ namespace NetCoreKit.Infrastructure.AspNetCore.Miniservice
1818
public static partial class ServiceCollectionExtensions
1919
{
2020
public static IServiceCollection AddEfCoreMiniService<TDbContext>(this IServiceCollection services,
21-
Action<BeatPulseContext> beatPulseCtx = null,
2221
Action<IServiceCollection> preDbWorkHook = null,
23-
Action<IServiceCollection, IServiceProvider> postDbWorkHook = null)
22+
Action<IServiceCollection, IServiceProvider> postDbWorkHook = null,
23+
Action<BeatPulseContext> beatPulseCtx = null)
2424
where TDbContext : DbContext
2525
{
2626
services.AddFeatureToggle();

src/NetCoreKit.Infrastructure.AspNetCore.Miniservice/Mongo.ServiceCollectionExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ namespace NetCoreKit.Infrastructure.AspNetCore.Miniservice
1515
public static partial class ServiceCollectionExtensions
1616
{
1717
public static IServiceCollection AddMongoMiniService(this IServiceCollection services,
18-
Action<BeatPulseContext> beatPulseCtx = null,
1918
Action<IServiceCollection> preDbWorkHook = null,
20-
Action<IServiceCollection, IServiceProvider> postDbWorkHook = null)
19+
Action<IServiceCollection, IServiceProvider> postDbWorkHook = null,
20+
Action<BeatPulseContext> beatPulseCtx = null)
2121
{
2222
services.AddFeatureToggle();
2323

0 commit comments

Comments
 (0)