diff --git a/aspnetcore/fundamentals/configuration/options.md b/aspnetcore/fundamentals/configuration/options.md index 54e298bcc1..79bd7da127 100644 --- a/aspnetcore/fundamentals/configuration/options.md +++ b/aspnetcore/fundamentals/configuration/options.md @@ -266,7 +266,7 @@ services.PostConfigure("named_options_1", myOptions => Use [PostConfigureAll<TOptions>](/dotnet/api/microsoft.extensions.dependencyinjection.optionsservicecollectionextensions.postconfigureall) to post-configure all named configuration instances: ```csharp -services.PostConfigureAll("named_options_1", myOptions => +services.PostConfigureAll(myOptions => { myOptions.Option1 = "post_configured_option1_value"; });