Skip to content

Commit 65f6d40

Browse files
authored
Merge pull request #166 from buildersoftio/v2.2/bug/161
v2.2/bug/161: Refactor AddCortexMediator method signature
2 parents 1361694 + c78c80d commit 65f6d40

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Cortex.Mediator/DependencyInjection/ServiceCollectionExtensions.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ public static class ServiceCollectionExtensions
1515
{
1616
public static IServiceCollection AddCortexMediator(
1717
this IServiceCollection services,
18-
IConfiguration configuration,
1918
Type[] handlerAssemblyMarkerTypes,
20-
Action<MediatorOptions>? configure = null)
19+
Action<MediatorOptions> configure = null)
2120
{
2221
var options = new MediatorOptions();
2322
configure?.Invoke(options);

0 commit comments

Comments
 (0)