Skip to content

Commit

Permalink
Update OptionsBuilderConfigurationExtensions.cs (#65220)
Browse files Browse the repository at this point in the history
Remove not needed lines
  • Loading branch information
maxkoshevoi authored Feb 14, 2022
1 parent cff924f commit a2c6688
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ public static class OptionsBuilderConfigurationExtensions
Action<BinderOptions> configureBinder = null)
where TOptions : class
{
_ = optionsBuilder;
_ = configSectionPath;

optionsBuilder.Configure<IConfiguration>((opts, config) => BindFromOptions<TOptions>(opts, config, configSectionPath, configureBinder));
optionsBuilder.Services.AddSingleton<IOptionsChangeTokenSource<TOptions>, ConfigurationChangeTokenSource<TOptions>>();
return optionsBuilder;
Expand Down

0 comments on commit a2c6688

Please sign in to comment.