We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c08118f + db4119b commit e33d8c7Copy full SHA for e33d8c7
1.md
@@ -246,7 +246,7 @@ public class MyConfigureOptions : IConfigureOptions<LibraryOptions>
246
247
public void Configure(LibraryOptions options)
248
{
249
- options.Value = _service.ComputeSetting();
+ options.Setting = _service.ComputeSetting();
250
}
251
252
```
@@ -268,7 +268,7 @@ public void ConfigureServices(IServiceCollection services)
268
services.AddOptions<LibraryOptions>()
269
.Configure<ISomeService>((options, service) =>
270
271
- options.Value = service.ComputeSetting();
+ options.Setting = service.ComputeSetting();
272
});
273
274
0 commit comments