Skip to content

Commit

Permalink
Add null check
Browse files Browse the repository at this point in the history
  • Loading branch information
MagnusSandgren committed Oct 17, 2024
1 parent 9386a3c commit 1d3bde0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public IServiceCollection Build()

public IInfrastructureBuilder AndBusConfiguration(Action<IBusRegistrationConfigurator> configure)
{
ArgumentNullException.ThrowIfNull(configure);
_busConfigurations.Add(configure);
return this;
}
Expand Down

0 comments on commit 1d3bde0

Please sign in to comment.