From 84515b39d99d07723300cdb91b1e124ea0f6b240 Mon Sep 17 00:00:00 2001 From: Patrick Westerhoff Date: Sun, 5 Aug 2018 17:52:00 +0200 Subject: [PATCH] Fix PostConfigureAll example (#7953) --- aspnetcore/fundamentals/configuration/options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; });