Fix PostConfigureAll example (#7953)

pull/7952/merge
Patrick Westerhoff 2018-08-05 17:52:00 +02:00 committed by Luke Latham
parent a68ab70390
commit 84515b39d9
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ services.PostConfigure<MyOptions>("named_options_1", myOptions =>
Use [PostConfigureAll&lt;TOptions&gt;](/dotnet/api/microsoft.extensions.dependencyinjection.optionsservicecollectionextensions.postconfigureall) to post-configure all named configuration instances:
```csharp
services.PostConfigureAll<MyOptions>("named_options_1", myOptions =>
services.PostConfigureAll<MyOptions>(myOptions =>
{
myOptions.Option1 = "post_configured_option1_value";
});